Hoang Le d237a7f117 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>
2021-07-23 16:36:37 +01:00
..
2021-06-28 13:31:57 -07:00
2021-05-18 13:22:09 -07:00
2021-05-18 13:22:09 -07:00
2018-08-29 18:04:54 -07:00
2021-06-30 15:51:09 -07:00
2021-05-18 13:22:09 -07:00
2021-06-28 13:31:57 -07:00
2021-05-18 13:22:09 -07:00
2021-06-10 13:48:43 -07:00
2021-03-29 16:28:50 -07:00