Files
android_kernel_xiaomi_sm8450/net/tipc
Hoang Le a41282e82a 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: 6398e23cdb ("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>
2021-08-04 12:46:42 +02:00
..
2018-03-23 13:12:18 -04:00
2021-07-14 16:56:32 +02:00
2018-08-29 18:04:54 -07:00
2020-07-13 17:20:40 -07:00
2021-07-14 16:56:32 +02:00
2021-07-14 16:56:32 +02:00