summaryrefslogtreecommitdiffstats
path: root/net/decnet/sysctl_net_decnet.c
diff options
context:
space:
mode:
authorYajun Deng <yajun.deng@linux.dev>2021-07-29 09:13:50 +0200
committerJakub Kicinski <kuba@kernel.org>2021-07-30 15:33:24 +0200
commit79976892f7ea37f44f8bcfb6d266954e8ae0124d (patch)
tree9e438088b39b37c3f5cb1152cb59d284f9adaf8a /net/decnet/sysctl_net_decnet.c
parentbcm63xx_enet: delete a redundant assignment (diff)
downloadlinux-79976892f7ea37f44f8bcfb6d266954e8ae0124d.tar.xz
linux-79976892f7ea37f44f8bcfb6d266954e8ae0124d.zip
net: convert fib_treeref from int to refcount_t
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> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20210729071350.28919-1-yajun.deng@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/decnet/sysctl_net_decnet.c')
0 files changed, 0 insertions, 0 deletions