Messages in this thread | | | Date | Sat, 24 Aug 2019 16:33:31 -0700 (PDT) | Subject | Re: [PATCH] [PATCH v3] sock: fix potential memory leak in proto_register() | From | David Miller <> |
| |
From: zhanglin <zhang.lin16@zte.com.cn> Date: Fri, 23 Aug 2019 09:14:11 +0800
> If protocols registered exceeded PROTO_INUSE_NR, prot will be > added to proto_list, but no available bit left for prot in > proto_inuse_idx. > > Changes since v2: > * Propagate the error code properly > > Signed-off-by: zhanglin <zhang.lin16@zte.com.cn>
Applied.
| |