Subject: Re: [PATCH] ipv4: synchronize bind() with RTM_NEWADDR notifications

From: Timo Teräs <[email-masked]>
Date: Thu, 21 Oct 2010 13:58:08 +0300

On 10/21/2010 01:50 PM, David Miller wrote:
> From: Timo Teräs <[email-masked]>
> Date: Thu, 21 Oct 2010 13:41:37 +0300
> 
>> Is inet_bind() called from non-userland context? If yes, then this is a
>> bad idea. Otherwise I don't think it's that hot path...
> 
> It is.

Yet, almost immediately after that there is lock_sock() which can also
sleep. How does that work then?