lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 29 Jul 2021 08:55:00 -0600 From: David Ahern <dsahern@...il.com> To: Yajun Deng <yajun.deng@...ux.dev>, davem@...emloft.net, kuba@...nel.org, yoshfuji@...ux-ipv6.org, dsahern@...nel.org Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, linux-decnet-user@...ts.sourceforge.net Subject: Re: [PATCH] net: convert fib_treeref from int to refcount_t On 7/29/21 1:13 AM, Yajun Deng wrote: > refcount_t type should be used instead of int when fib_treeref is used as > a reference counter,and avoid use-after-free risks. > > Signed-off-by: Yajun Deng <yajun.deng@...ux.dev> > --- > include/net/dn_fib.h | 2 +- > include/net/ip_fib.h | 2 +- > net/decnet/dn_fib.c | 6 +++--- > net/ipv4/fib_semantics.c | 8 ++++---- > 4 files changed, 9 insertions(+), 9 deletions(-) > for net-next so the subject line should be "[PATCH net-next] ...." Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists