You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Laura tracked poll() [and friends] regression caused by commit
e6afc8a ("udp: remove headers from UDP packets before queueing")
udp_poll() needs to know if there is a valid packet in receive queue,
even if its payload length is 0.
Change first_packet_length() to return an signed int, and use -1
as the indication of an empty queue.
Fixes: e6afc8a ("udp: remove headers from UDP packets before queueing")
Reported-by: Laura Abbott <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Tested-by: Laura Abbott <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
0 commit comments