From: Parthasarathy Bhuvaragan <[email protected]>
Date: Thu, 28 Dec 2017 12:03:06 +0100
> 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 <[email protected]>
> Signed-off-by: Parthasarathy Bhuvaragan <[email protected]>
Applied and queued up for -stable.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion