aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.h
diff options
context:
space:
mode:
authorMahesh Bandewar <[email protected]>2022-11-16 01:19:14 +0000
committerDavid S. Miller <[email protected]>2022-11-18 10:39:22 +0000
commit40b9d1ab63f5c4f3cb69450044d07b45e5af72e1 (patch)
tree773c981b4357becfd3258719c1138e268508839a /net/tipc/socket.h
parentnet: neigh: decrement the family specific qlen (diff)
downloadkernel-40b9d1ab63f5c4f3cb69450044d07b45e5af72e1.tar.gz
kernel-40b9d1ab63f5c4f3cb69450044d07b45e5af72e1.zip
ipvlan: hold lower dev to avoid possible use-after-free
Recently syzkaller discovered the issue of disappearing lower device (NETDEV_UNREGISTER) while the virtual device (like macvlan) is still having it as a lower device. So it's just a matter of time similar discovery will be made for IPvlan device setup. So fixing it preemptively. Also while at it, add a refcount tracker. Fixes: 2ad7bf363841 ("ipvlan: Initial check-in of the IPVLAN driver.") Signed-off-by: Mahesh Bandewar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.h')
0 files changed, 0 insertions, 0 deletions