-
- Downloads
sock_map: Add a cond_resched() in sock_hash_free()
[ Upstream commit b1339be9 ] Several syzbot soft lockup reports all have in common sock_hash_free() If a map with a large number of buckets is destroyed, we need to yield the cpu when needed. Fixes: 75e68e5b ("bpf, sockhash: Synchronize delete from bucket list on map free") Reported-by:syzbot <syzkaller@googlegroups.com> Signed-off-by:
Eric Dumazet <edumazet@google.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Acked-by:
Martin KaFai Lau <martin.lau@kernel.org> Acked-by:
John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20240906154449.3742932-1-edumazet@google.com Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
22fe61bd
No related branches found
No related tags found
Loading
Please register or sign in to comment