summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@gmail.com>2017-12-28 12:03:06 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-28 12:15:26 -0500
commit517d7c79bdb39864e617960504bdc1aa560c75c6 (patch)
treef850757a09157847c5d04364b7d19df3c7ac7762 /drivers/w1
parent1528f6e2764c483b9ba1df315d771b2d41b11a04 (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/w1')
0 files changed, 0 insertions, 0 deletions