[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190819.181219.24181991280730634.davem@davemloft.net>
Date: Mon, 19 Aug 2019 18:12:19 -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] sock: fix potential memory leak in proto_register()
From: zhanglin <zhang.lin16@....com.cn>
Date: Mon, 19 Aug 2019 09:35:56 +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.
>
> Signed-off-by: zhanglin <zhang.lin16@....com.cn>
This won't build with CONFIG_PROC_FS disabled.
Powered by blists - more mailing lists