[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161114.131749.117151077627113186.davem@davemloft.net>
Date: Mon, 14 Nov 2016 13:17:49 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
peterz@...radead.org
Subject: Re: [Patch net-next] net: fix sleeping for sk_wait_event()
From: Cong Wang <xiyou.wangcong@...il.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.dumazet@...il.com>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thanks.
Powered by blists - more mailing lists