AF_UNIX: Fix poll blocking problem when reading from a stream socket
authorAlexey Moiseytsev <himeraster@gmail.com>
Mon, 21 Nov 2011 13:35:25 +0000 (13:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 21:34:22 +0000 (16:34 -0500)
commit0884d7aa24e15e72b3c07f7da910a13bb7df3592
tree0b7257890d1e5a960f3205f94ab0a4d628ce7c3a
parent83b98fb46ff136945f9d06a9bf6e6aae2ffc37b3
AF_UNIX: Fix poll blocking problem when reading from a stream socket

poll() call may be blocked by concurrent reading from the same stream
socket.

Signed-off-by: Alexey Moiseytsev <himeraster@gmail.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c