Re: [PATCH] ipv4: Only destroy inet devices when we receive an NETDEV_UNREGISTER event

2007-06-22 Thread Eric W. Biederman
Never mind. I saw this and I thought it was an old obscure bug. But it appears it is a new condition, that has already been fixed. Eric - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.o

[PATCH] ipv4: Only destroy inet devices when we receive an NETDEV_UNREGISTER event

2007-06-21 Thread Eric W. Biederman
Currently we destroy inet devices when we remove the last interface from an inet device, and during NETDEV_UNREGISTER. We only create them during NETDEV_REGISTER event. The result is if you and an ipv4 address to a device delete it (so the device has no ipv4 addresses) and attampt to add any ipv