Skip to content
Commit bb154626 authored by Yajun Deng's avatar Yajun Deng Committed by Greg Kroah-Hartman
Browse files

net: decnet: Fix sleeping inside in af_decnet

[ Upstream commit 5f119ba1 ]

The release_sock() is blocking function, it would change the state
after sleeping. use wait_woken() instead.

Fixes: 1da177e4

 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarYajun Deng <yajun.deng@linux.dev>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5c6d8e2f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment