commit | 1586a5877db9eee313379738d6581bc7c6ffb5e3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Oct 23 10:59:16 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 25 06:37:45 2015 -0700 |
tree | 67dfe980f1ce3a826883360f51babeabdb73c820 | |
parent | 742e038330a485350334ee5eb75dce4a9dff87cd [diff] |
af_unix: do not report POLLOUT on listeners 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 <edumazet@google.com> Reported-by: Alan Burlison <Alan.Burlison@oracle.com> Tested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>