aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-01-15 08:05:58 +0000
committerJakub Kicinski <[email protected]>2025-01-20 20:16:04 +0000
commitf7a6082b5e4c15f34fd766cf0960f7e082009c54 (patch)
tree803547ff2f575725d92367294cdbb50dcd141256 /net/unix/af_unix.c
parentnet: stmmac: Drop redundant skb_mark_for_recycle() for SKB frags (diff)
downloadkernel-f7a6082b5e4c15f34fd766cf0960f7e082009c54.tar.gz
kernel-f7a6082b5e4c15f34fd766cf0960f7e082009c54.zip
ipv6: Add __in6_dev_get_rtnl_net().
We will convert rtnl_lock() with rtnl_net_lock(), and we want to convert __in6_dev_get() too. __in6_dev_get() uses rcu_dereference_rtnl(), but as written in its comment, rtnl_dereference() or rcu_dereference() is preferable. Let's add __in6_dev_get_rtnl_net() that uses rtnl_net_dereference(). We can add the RCU version helper later if needed. 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/af_unix.c')
0 files changed, 0 insertions, 0 deletions