summaryrefslogtreecommitdiff
path: root/net/ipv6/sysctl_net_ipv6.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-08-28 19:58:17 +0000
committerJakub Kicinski <kuba@kernel.org>2025-08-29 19:36:32 -0700
commitb775ecf1655cedbc465fd6699ab18a2bc4e7a352 (patch)
treeb7bc33be5c13dfd4f2fdda429de36aa390dce43b /net/ipv6/sysctl_net_ipv6.c
parentcaedcc5b6df1b2e2b5f39079e3369c1d4d5c5f50 (diff)
ipv6: start using dst_dev_rcu()
Refactor icmpv6_xrlim_allow() and ip6_dst_hoplimit() so that we acquire rcu_read_lock() a bit longer to be able to use dst_dev_rcu() instead of dst_dev(). __ip6_rt_update_pmtu() and rt6_do_redirect can directly use dst_dev_rcu() in sections already holding rcu_read_lock(). Small changes to use dst_dev_net_rcu() in ip6_default_advmss(), ipv6_sock_ac_join(), ip6_mc_find_dev() and ndisc_send_skb(). Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()") Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20250828195823.3958522-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
0 files changed, 0 insertions, 0 deletions