ipv6: adopt skb_dst_dev() and skb_dst_dev_net[_rcu]() helpers
authorEric Dumazet <edumazet@google.com>
Mon, 30 Jun 2025 12:19:33 +0000 (12:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 21:32:30 +0000 (14:32 -0700)
commit93d1cff35adc522a5d21e722eee1071f3f7dc716
treed5c5058d5d747325816d72d95e324c0486d5b336
parent1caf27297215a5241f9bfc9c07336349d9034ee3
ipv6: adopt skb_dst_dev() and skb_dst_dev_net[_rcu]() helpers

Use the new helpers as a step to deal with potential dst->dev races.

v2: fix typo in ipv6_rthdr_rcv() (kernel test robot <lkp@intel.com>)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250630121934.3399505-10-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
16 files changed:
include/net/inet6_hashtables.h
include/net/ip6_tunnel.h
net/ipv6/exthdrs.c
net/ipv6/ioam6.c
net/ipv6/ip6_input.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_vti.c
net/ipv6/netfilter.c
net/ipv6/netfilter/nf_reject_ipv6.c
net/ipv6/output_core.c
net/ipv6/reassembly.c
net/ipv6/route.c
net/ipv6/seg6_iptunnel.c
net/ipv6/tcp_ipv6.c
net/ipv6/xfrm6_output.c