[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7769248-d612-4bfe-afe7-b5457a9f0606@gmail.com>
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