]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv6: adopt dst_dev() helper
authorEric Dumazet <edumazet@google.com>
Fri, 2 Jan 2026 20:37:25 +0000 (12:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:15:01 +0000 (10:15 +0100)
commit8e8d6bf68633d2a2cbd01814584d29beb38fef68
tree95bc089e4cd7d35613ad88c77ff7d9efceb1ce95
parent1e28e7701b109f9fb8f57d469314ef6ab86c1f0a
ipv6: adopt dst_dev() helper

[ Upstream commit 1caf27297215a5241f9bfc9c07336349d9034ee3 ]

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

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250630121934.3399505-9-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
[Harshit: Backport to 6.12.y, pulled this is a prerequisite]
Stable-dep-of: 99a2ace61b21 ("net: use dst_dev_rcu() in sk_setup_caps()")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 files changed:
include/net/ip6_route.h
net/ipv6/exthdrs.c
net/ipv6/icmp.c
net/ipv6/ila/ila_lwt.c
net/ipv6/ioam6_iptunnel.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_udp_tunnel.c
net/ipv6/ip6_vti.c
net/ipv6/ndisc.c
net/ipv6/netfilter/nf_dup_ipv6.c
net/ipv6/output_core.c
net/ipv6/route.c
net/ipv6/rpl_iptunnel.c
net/ipv6/seg6_iptunnel.c
net/ipv6/seg6_local.c