Skip to content
Snippets Groups Projects
Commit 3d501f56 authored by Fernando Fernández Mancera's avatar Fernando Fernández Mancera Committed by Jakub Kicinski
Browse files

Revert "udp: avoid calling sock_def_readable() if possible"

This reverts commit 612b1c0d. On a
scenario with multiple threads blocking on a recvfrom(), we need to call
sock_def_readable() on every __udp_enqueue_schedule_skb() otherwise the
threads won't be woken up as __skb_wait_for_more_packets() is using
prepare_to_wait_exclusive().

Link: https://bugzilla.redhat.com/2308477


Fixes: 612b1c0d ("udp: avoid calling sock_def_readable() if possible")
Signed-off-by: default avatarFernando Fernandez Mancera <ffmancera@riseup.net>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20241202155620.1719-1-ffmancera@riseup.net


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent cecc1555
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment