[Devel] Re: [PATCH 1/3] [IPV6]: Event type in addrconf_ifdown is mis-used.

2008-03-23 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Sun, 23 Mar 2008 17:34:59 +0300 > You are perfectly correct and the place in addrconf_cleanup is that > place when we believe that we should destroy all the staff. > > You see, it is pretty useless to call addrconf_ifdown(dev, 2) after > addrconf_d

[Devel] Re: [PATCH 1/3] [IPV6]: Event type in addrconf_ifdown is mis-used.

2008-03-23 Thread Denis V. Lunev
On Sun, 2008-03-23 at 03:17 -0700, David Miller wrote: > From: "Denis V. Lunev" <[EMAIL PROTECTED]> > Date: Sun, 23 Mar 2008 11:13:16 +0300 > > > First, this behaviour is broken for a namespace right now in the 2.6.26 > > tree. inet6_dev pointer will be NULL for a loopback inside the > > namespace

[Devel] Re: [PATCH 1/3] [IPV6]: Event type in addrconf_ifdown is mis-used.

2008-03-23 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Sun, 23 Mar 2008 11:13:16 +0300 > First, this behaviour is broken for a namespace right now in the 2.6.26 > tree. inet6_dev pointer will be NULL for a loopback inside the > namespace. The case is simple. Just remove all INET6 addresses from a > loop

[Devel] Re: [PATCH 1/3] [IPV6]: Event type in addrconf_ifdown is mis-used.

2008-03-23 Thread Denis V. Lunev
On Sat, 2008-03-22 at 17:38 -0700, David Miller wrote: > From: "Denis V. Lunev" <[EMAIL PROTECTED]> > Date: Tue, 18 Mar 2008 17:35:23 +0300 > > > addrconf_ifdown is broken in respect to the usage of how parameter. This > > function is called with (event != NETDEV_DOWN) and (2) on the IPv6 stop. >