diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2017-10-19 16:42:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-21 12:27:05 +0100 |
commit | cb4dc41eaad0cb336bb5ddd379ae0d2cc89cb62b (patch) | |
tree | d52c07e0c68976685188efcf5f384aed1184d297 /drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h | |
parent | 471abeabb416ad1f7c9f97227a5068ab5f6ffcde (diff) | |
download | linux-cb4dc41eaad0cb336bb5ddd379ae0d2cc89cb62b.tar.bz2 |
tipc: fix broken tipc_poll() function
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.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h')
0 files changed, 0 insertions, 0 deletions