Files
Kuniyuki IwashimaandGreg Kroah-Hartman 53700a6376 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:39:41 +02:00
..
2025-03-13 12:50:43 +01:00
2024-12-19 18:07:20 +01:00
2023-06-14 11:13:02 +02:00
2023-08-11 15:13:54 +02:00