diff options
| author | Hoang Le <hoang.h.le@dektech.com.au> | 2021-07-23 09:25:34 +0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-04 11:56:46 +0200 |
| commit | e4bee8d2a1c9446d4b081b713d297ba850668117 (patch) | |
| tree | 6056668ba8a4f02273a060a7d4236a756c2820c0 /scripts/gdb/linux/dmesg.py | |
| parent | 0df650d50676b5d729797c4bc909be030cb4d065 (diff) | |
tipc: fix sleeping in tipc accept routine
[ Upstream commit d237a7f11719ff9320721be5818352e48071aab6 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions
