]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: ndisc: Remove __in6_dev_get() in pndisc_{constructor,destructor}().
authorKuniyuki Iwashima <kuniyu@google.com>
Wed, 2 Jul 2025 23:01:18 +0000 (16:01 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Jul 2025 01:32:37 +0000 (18:32 -0700)
commitfb60b74e4e5b8e808d51704a678dbf109ee8e6b5
tree176e402bbfae9802f79c53b556914208ecb8d2a1
parent01af00018733ba862b38d37cd0f06f36239cc8b5
ipv6: ndisc: Remove __in6_dev_get() in pndisc_{constructor,destructor}().

ipv6_dev_mc_{inc,dec}() has the same check.

Let's remove __in6_dev_get() from pndisc_constructor() and
pndisc_destructor().

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250702230210.3115355-2-kuni1840@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ndisc.c