Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopback registration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Lezcano
Date: Monday, November 12, 2007 - 10:01 am

Eric W. Biederman wrote:

Let me try to clarify:

  * when the init network namespace is created, the loopback is created 
first, before ipv6, and the notifier call chain for ipv6 is not setup, 
so the protocol does not receive the REGISTER event

  * when the init network namespace is destroyed during shutdown, the 
loopback is not unregistered, so there is no UNREGISTER event

  * when we create a new network namespace, a new instance of the 
loopback is created and a NETDEV_REGISTER is sent to ipv6 because the 
notifier call chain has been setup by the init netns (while ipv6 
protocol is not yet configured for the namespace which is being created)

  * when the network namespace exits, the loopback is unregistered after 
the ipv6 protocol but the NETDEV_UNREGISTER is sent to addrconf_notify 
while the ipv6 protocol has been destroyed.


The objective of the patch is to discard these events because they were 
never taken into account and they are not expected to be receive by ipv6 
protocol.
-
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:
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., Eric W. Biederman, (Mon Nov 12, 9:40 am)
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., Eric W. Biederman, (Mon Nov 12, 9:51 am)
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., Eric W. Biederman, (Mon Nov 12, 9:59 am)
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., Daniel Lezcano, (Mon Nov 12, 10:01 am)
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., Eric W. Biederman, (Mon Nov 12, 12:50 pm)
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., YOSHIFUJI Hideaki / , (Mon Nov 12, 6:52 pm)
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., Eric W. Biederman, (Tue Nov 13, 5:59 am)
Re: [patch 1/1][NETNS][IPV6] protect addrconf from loopbac ..., Eric W. Biederman, (Tue Nov 13, 6:11 am)