Files
linux/net/ipv6
Eric Dumazet a527750d87 ipv6: mcast: add RCU protection to mld_newpack()
mld_newpack() can be called without RTNL or RCU being held.

Note that we no longer can use sock_alloc_send_skb() because
ipv6.igmp_sk uses GFP_KERNEL allocations which can sleep.

Instead use alloc_skb() and charge the net->ipv6.igmp_sk
socket under RCU protection.

Fixes: b8ad0cbc58 ("[NETNS][IPV6] mcast - handle several network namespace")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250212141021.1663666-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-13 08:37:21 -08:00
..
2024-10-15 18:52:26 -07:00
2025-02-06 16:14:15 -08:00
2024-11-11 10:32:06 -08:00
2025-02-06 16:14:15 -08:00
2025-01-15 15:07:23 -08:00
2024-12-16 18:13:44 -08:00
2024-12-16 18:13:44 -08:00
2024-05-30 18:29:38 -07:00
2023-10-27 10:35:46 +01:00
2023-09-14 16:16:36 +02:00
2025-01-20 07:06:53 +01:00