summaryrefslogtreecommitdiff
path: root/curve_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'curve_test.c')
0 files changed, 0 insertions, 0 deletions
87138be82'>patch) treea28c86da1c3ba7fef0f3fa82a5c7fc5bbb6fe2bf /fs/btrfs parent7d384846b9987f7b611357adf3cdfecfdcf0c402 (diff)
net: fix sleeping for sk_wait_event()
Similar to commit 14135f30e33c ("inet: fix sleeping inside inet_wait_for_connect()"), sk_wait_event() needs to fix too, because release_sock() is blocking, it changes the process state back to running after sleep, which breaks the previous prepare_to_wait(). Switch to the new wait API. Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/btrfs')