Files
linux/net
Kuniyuki Iwashima 2a683d0052 dev: Pass netdevice_tracker to dev_get_by_flags_rcu().
This is a follow-up for commit eb1ac9ff6c ("ipv6: anycast: Don't
hold RTNL for IPV6_JOIN_ANYCAST.").

We should not add a new device lookup API without netdevice_tracker.

Let's pass netdevice_tracker to dev_get_by_flags_rcu() and rename it
with netdev_ prefix to match other newer APIs.

Note that we always use GFP_ATOMIC for netdev_hold() as it's expected
to be called under RCU.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/netdev/20250708184053.102109f6@kernel.org/
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250711051120.2866855-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-07-14 17:11:14 -07:00
..
2025-04-22 07:04:02 -07:00
2025-06-23 16:58:43 -07:00
2024-10-15 18:52:26 -07:00
2025-07-08 08:37:15 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:05:12 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-21 07:35:39 -07:00
2025-07-08 18:05:25 -07:00
2025-06-23 17:05:12 -07:00
2024-10-08 15:16:59 +02:00
2025-04-11 18:58:10 -07:00
2025-06-23 17:04:03 -07:00