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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Timo Teräs
Date: Thursday, October 21, 2010 - 3:41 am

On 10/21/2010 01:25 PM, Eric Dumazet wrote:

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...

The other idea of doing notifier calls before RTM_NEWADDR sending is
worse because it changes ordering of userland visible netlink notifications.

This looked like the easiest way out. If this is unacceptable, I guess
we are left with changing inet_addr_type() to not use FIB.

Or is there better ideas?


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ipv4: synchronize bind() with RTM_NEWADDR notifica ..., =?UTF-8?q?Timo=20Ter ..., (Thu Oct 21, 3:12 am)
Re: [PATCH] ipv4: synchronize bind() with RTM_NEWADDR noti ..., Timo Teräs, (Thu Oct 21, 3:41 am)
[PATCH v2] ipv4: synchronize bind() with RTM_NEWADDR notif ..., =?UTF-8?q?Timo=20Ter ..., (Thu Oct 21, 6:06 am)