diff options
author | Eric Dumazet <edumazet@google.com> | 2025-02-12 14:10:21 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-13 08:37:21 -0800 |
commit | a527750d877fd334de87eef81f1cb5f0f0ca3373 (patch) | |
tree | 0f608fb0e2f6a8221831a1eeb06e5e176b44ab83 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5bef3ac184b5626ea62385d6b82a1992b89d7940 (diff) |
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: b8ad0cbc58f7 ("[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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions