]> www.infradead.org Git - users/dwmw2/linux.git/commit
tcp: convert to dev_net_rcu()
authorEric Dumazet <edumazet@google.com>
Sat, 1 Mar 2025 20:14:21 +0000 (20:14 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 3 Mar 2025 23:44:19 +0000 (15:44 -0800)
commite7b9ecce562ca6a1de32c56c597fa45e08c44ec0
tree9c86e6e3ecaf4a66a7aedb409204a99aed158167
parenta11a791ca81e5cd9bf2d48e1368d836bc53f00ca
tcp: convert to dev_net_rcu()

TCP uses of dev_net() are under RCU protection, change them
to dev_net_rcu() to get LOCKDEP support.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250301201424.2046477-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet6_hashtables.h
include/net/inet_hashtables.h
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_metrics.c
net/ipv6/tcp_ipv6.c