Re: [PATCH net v1 1/1] tipc: fix hanging poll() for stream sockets

2017-12-28 Thread David Miller
From: Parthasarathy Bhuvaragan 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 applicatio

[PATCH net v1 1/1] tipc: fix hanging poll() for stream sockets

2017-12-28 Thread Parthasarathy Bhuvaragan
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