diff options
author | Hoang Le <hoang.h.le@dektech.com.au> | 2021-07-23 09:25:34 +0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-23 16:36:37 +0100 |
commit | d237a7f11719ff9320721be5818352e48071aab6 (patch) | |
tree | 6a61cf06b653cfa645e73b6d6f6a26184192d23c /net/ipv4/xfrm4_input.c | |
parent | f8dd60de194817c86bf812700980762bb5a8d9a4 (diff) | |
download | linux-d237a7f11719ff9320721be5818352e48071aab6.tar.gz linux-d237a7f11719ff9320721be5818352e48071aab6.tar.bz2 linux-d237a7f11719ff9320721be5818352e48071aab6.zip |
tipc: fix sleeping in tipc accept routine
The release_sock() is blocking function, it would change the state
after sleeping. In order to evaluate the stated condition outside
the socket lock context, switch to use wait_woken() instead.
Fixes: 6398e23cdb1d8 ("tipc: standardize accept routine")
Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_input.c')
0 files changed, 0 insertions, 0 deletions