aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2025-06-30 12:19:34 +0000
committerJakub Kicinski <[email protected]>2025-07-02 21:32:30 +0000
commit46a94e44b9ec4d8d20108a1748c410d71a8dc759 (patch)
tree33227e866d0d750756c8077cf6a7e9434c1f7c05 /tools/testing/selftests/net/lib/py/utils.py
parentipv6: adopt skb_dst_dev() and skb_dst_dev_net[_rcu]() helpers (diff)
downloadkernel-46a94e44b9ec4d8d20108a1748c410d71a8dc759.tar.gz
kernel-46a94e44b9ec4d8d20108a1748c410d71a8dc759.zip
ipv6: ip6_mc_input() and ip6_mr_input() cleanups
Both functions are always called under RCU. We remove the extra rcu_read_lock()/rcu_read_unlock(). We use skb_dst_dev_net_rcu() instead of skb_dst_dev_net(). We use dev_net_rcu() instead of dev_net(). Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions