[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190824.163331.513378382995833170.davem@davemloft.net>
Date: Sat, 24 Aug 2019 16:33:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhang.lin16@....com.cn
Cc: ast@...nel.org, daniel@...earbox.net, kafai@...com,
songliubraving@...com, yhs@...com, willemb@...gle.com,
edumazet@...gle.com, deepa.kernel@...il.com, arnd@...db.de,
dh.herrmann@...il.com, gnault@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
xue.zhihong@....com.cn, wang.yi59@....com.cn,
jiang.xuexin@....com.cn
Subject: Re: [PATCH] [PATCH v3] sock: fix potential memory leak in
proto_register()
From: zhanglin <zhang.lin16@....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@....com.cn>
Applied.
Powered by blists - more mailing lists