diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-02-12 14:10:21 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:44 +0100 |
| commit | 25195f9d5ffcc8079ad743a50c0409dbdc48d98a (patch) | |
| tree | 40070a2a1eba3eae436b67e552d645c13ac30e9c /scripts/git.orderFile | |
| parent | 19bfe57b1c24cd058bc0c2df9e02d6ed20423316 (diff) | |
| download | linux-25195f9d5ffcc8079ad743a50c0409dbdc48d98a.tar.gz linux-25195f9d5ffcc8079ad743a50c0409dbdc48d98a.tar.bz2 linux-25195f9d5ffcc8079ad743a50c0409dbdc48d98a.zip | |
ipv6: mcast: add RCU protection to mld_newpack()
[ Upstream commit a527750d877fd334de87eef81f1cb5f0f0ca3373 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
