aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-01-15 08:06:02 +0000
committerJakub Kicinski <[email protected]>2025-01-20 20:16:05 +0000
commitcdc5c1196ee9bcb12979d2599ed00dc187d989f1 (patch)
treedc70927ec4242132baa3e79bc51809fc7eb5c821 /net/unix/garbage.c
parentipv6: Hold rtnl_net_lock() in addrconf_dad_work(). (diff)
downloadkernel-cdc5c1196ee9bcb12979d2599ed00dc187d989f1.tar.gz
kernel-cdc5c1196ee9bcb12979d2599ed00dc187d989f1.zip
ipv6: Hold rtnl_net_lock() in addrconf_init() and addrconf_cleanup().
addrconf_init() holds RTNL for blackhole_netdev, which is the global device in init_net. addrconf_cleanup() holds RTNL to clean up devices in init_net too. Let's use rtnl_net_lock(&init_net) there. Signed-off-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions