]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]
authorEric Dumazet <edumazet@google.com>
Mon, 30 Jun 2025 12:19:31 +0000 (12:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 21:32:30 +0000 (14:32 -0700)
commita74fc62eec155ca5a6da8ff3856f3dc87fe24558
treed7e629c97015087e167aeaa02f52d23a6d8cd0d3
parent88fe14253e181878c2ddb51a298ae8c468a63010
ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]

Use the new helpers as a first 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-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
14 files changed:
include/net/inet_hashtables.h
include/net/ip.h
include/net/route.h
net/ipv4/icmp.c
net/ipv4/igmp.c
net/ipv4/ip_fragment.c
net/ipv4/ip_output.c
net/ipv4/ip_vti.c
net/ipv4/netfilter.c
net/ipv4/route.c
net/ipv4/tcp_fastopen.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_metrics.c
net/ipv4/xfrm4_output.c