Re: [net-next 1/1] tipc: fix broken tipc_poll() function

2017-10-21 Thread David Miller
From: Jon Maloy Date: Thu, 19 Oct 2017 16:42:04 +0200 > In commit ae236fb208a6 ("tipc: receive group membership events via > member socket") we broke the tipc_poll() function by checking the > state of the receive queue before the call to poll_sock_wait(), while > relying that state afterwards, w

[net-next 1/1] tipc: fix broken tipc_poll() function

2017-10-19 Thread Jon Maloy
In commit ae236fb208a6 ("tipc: receive group membership events via member socket") we broke the tipc_poll() function by checking the state of the receive queue before the call to poll_sock_wait(), while relying that state afterwards, when it might have changed. We restore this in this commit. Sig

[net-next 1/1] tipc: fix broken tipc_poll() function

2017-10-19 Thread Jon Maloy
In commit ae236fb208a6 ("tipc: receive group membership events via member socket") we broke the tipc_poll() function by checking the state of the receive queue before the call to poll_sock_wait(), while relying that state afterwards, when it might have changed. We restore this in this commit. Sig