From: Cong Wang <xiyou.wangc...@gmail.com> Date: Fri, 11 Nov 2016 10:20:50 -0800
> 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.duma...@gmail.com> > Cc: Peter Zijlstra <pet...@infradead.org> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied, thanks.