Re: [PATCH] shutting down an interface should remove ipv4 addresses

2006-04-11 Thread Matyas Koszik
On Tue, 11 Apr 2006, David S. Miller wrote: > From: Matyas Koszik <[EMAIL PROTECTED]> > Date: Tue, 11 Apr 2006 09:44:55 +0200 (CEST) > > > ... but it doesn't, so those addresses are treated as local which is bad. > > No, shutting down an interface should not re

[PATCH] shutting down an interface should remove ipv4 addresses

2006-04-11 Thread Matyas Koszik
... but it doesn't, so those addresses are treated as local which is bad. This problem doesn't exist with ipv6 and the patch is based on the solution found there. --- linux-2.4.32.orig/net/ipv4/devinet 2004-08-08 01:26:06.0 +0200 +++ linux-2.4.32/net/ipv4/devinet.c 2006-04-11 06:21