Messages in this thread | | | Subject | Re: [PATCH] net: convert fib_treeref from int to refcount_t | From | David Ahern <> | Date | Thu, 29 Jul 2021 08:55:00 -0600 |
| |
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@linux.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@kernel.org>
| |