Files
Kuniyuki Iwashima 210ac54bdd phonet: Pass net and ifindex to phonet_address_notify().
[ Upstream commit 68ed5c38b5 ]

Currently, phonet_address_notify() fetches netns and ifindex from dev.

Once addr_doit() is converted to RCU, phonet_address_notify() will be
called outside of RCU due to GFP_KERNEL, and dev will be unavailable
there.

Let's pass net and ifindex to phonet_address_notify().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Stable-dep-of: 71de0177b2 ("net: phonet: free phonet_device after RCU grace period")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-07-04 13:42:20 +02:00
..
2025-07-17 18:35:09 +02:00
2025-02-08 09:51:55 +01:00
2024-01-31 16:19:01 -08:00
2024-12-19 18:11:28 +01:00
2025-02-27 04:10:50 -08:00
2025-02-27 04:10:50 -08:00
2024-07-18 13:21:12 +02:00
2026-04-27 07:23:28 -06:00