[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CC02ABF.8090008@iki.fi>
Date: Thu, 21 Oct 2010 14:57:51 +0300
From: Timo Teräs <timo.teras@....fi>
To: David Miller <davem@...emloft.net>
CC: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: synchronize bind() with RTM_NEWADDR notifications
On 10/21/2010 02:34 PM, David Miller wrote:
> From: Timo Teräs <timo.teras@....fi>
> Date: Thu, 21 Oct 2010 14:29:22 +0300
>
>> This is the third time asking, what would be a good way to fix the
>> problem described in the original commit log?
>
> I kept your report in my inbox backlog and intended to think about
> it as time permitted.
>
> As the merge window has just openned up, for me time will not be
> "permitted" for some time.
Fair enough. Just getting multiple "does not work" without single
mention of "will think about this later" felt frustrating.
I have one more alternative: Would it be acceptable if we did
rtnl_lock()/rtnl_unlock() only if inet_addr_type() earlier said the
address is unacceptable for binding. And then retry inet_addr_type(). Or
do you think that the error case EADDRNOTAVAIL is a hot path too?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists