WANG Cong d9dc8b0f8b 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>
2016-11-14 13:17:21 -05:00
..
2016-02-16 20:21:48 -05:00
2016-06-03 19:37:21 -04:00
2015-04-02 14:04:59 -04:00
2015-11-22 11:54:10 -05:00
2016-11-14 13:17:21 -05:00
2016-11-14 13:17:21 -05:00
2015-10-26 22:24:22 -07:00