]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: Add in6_dev_rcu().
authorKuniyuki Iwashima <kuniyu@google.com>
Wed, 29 Oct 2025 17:32:56 +0000 (17:32 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Nov 2025 01:40:46 +0000 (17:40 -0800)
commitd8f9581e1b7f1fe2e1ac985f4ea508d044c90733
treed3fa5ac02daaaf9caae2b7bbbab0f1d4058f35d9
parent451c538ec067e84c1bf1c2b99ebc2b1ca0a09090
ipv6: Add in6_dev_rcu().

rcu_dereference_rtnl() does not clearly tell whether the caller
is under RCU or RTNL.

Let's add in6_dev_rcu() to make it easy to remove __in6_dev_get()
in the future.

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20251029173344.2934622-5-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/addrconf.h