]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv6: Use RCU in ip6_input()
authorEric Dumazet <edumazet@google.com>
Wed, 5 Feb 2025 15:51:20 +0000 (15:51 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Feb 2025 00:14:15 +0000 (16:14 -0800)
commitb768294d449da6d7dc0667c1ec92dc4af6ef766b
treeeab90221e224204ce7115a0f8031043c8ee533b0
parent34aef2b0ce3aa4eb4ef2e1f5cad3738d527032f5
ipv6: Use RCU in ip6_input()

Instead of grabbing rcu_read_lock() from ip6_input_finish(),
do it earlier in is caller, so that ip6_input() access
to dev_net() can be validated by LOCKDEP.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250205155120.1676781-13-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ip6_input.c