mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
poll(POLLOUT) on a listener should not report fd is ready for a write(). This would break some applications using poll() and pfd.events = -1, as they would not block in poll() Signed-off-by: Eric Dumazet <[email protected]> Reported-by: Alan Burlison <[email protected]> Tested-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>