[IPV4]: Do not remove idev when addresses are cleared
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Jun 2007 01:35:38 +0000 (18:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 8 Jun 2007 20:33:08 +0000 (13:33 -0700)
commit6363097cc4d182f93788131b5d8f72aa91d950a0
treea90b11cc948ce3dcb48bd14f82c0776cf25e8eaf
parent85f6038f2170e3335dda09c3dfb0f83110e87019
[IPV4]: Do not remove idev when addresses are cleared

Now that we create idev before addresses are added, it no longer makes
sense to remove them when addresses are all deleted.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c