aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorYajun Deng <[email protected]>2021-07-29 15:13:50 +0800
committerJakub Kicinski <[email protected]>2021-07-30 15:33:24 +0200
commit79976892f7ea37f44f8bcfb6d266954e8ae0124d (patch)
tree9e438088b39b37c3f5cb1152cb59d284f9adaf8a /net/unix/unix_bpf.c
parent3e12361b6d23f793580a50a6008633501c56ea1d (diff)
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 <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions