diff options
author | Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@gmail.com> | 2017-12-28 12:03:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-28 12:15:26 -0500 |
commit | 517d7c79bdb39864e617960504bdc1aa560c75c6 (patch) | |
tree | f850757a09157847c5d04364b7d19df3c7ac7762 /drivers/gpu/drm/armada/armada_fb.c | |
parent | 1528f6e2764c483b9ba1df315d771b2d41b11a04 (diff) |
tipc: fix hanging poll() for stream sockets
In commit 42b531de17d2f6 ("tipc: Fix missing connection request
handling"), we replaced unconditional wakeup() with condtional
wakeup for clients with flags POLLIN | POLLRDNORM | POLLRDBAND.
This breaks the applications which do a connect followed by poll
with POLLOUT flag. These applications are not woken when the
connection is ESTABLISHED and hence sleep forever.
In this commit, we fix it by including the POLLOUT event for
sockets in TIPC_CONNECTING state.
Fixes: 42b531de17d2f6 ("tipc: Fix missing connection request handling")
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_fb.c')
0 files changed, 0 insertions, 0 deletions