diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-03-07 19:02:40 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-03-07 19:08:12 -0500 |
commit | c7ababbdc647e67e953d153ddf62cbdc9fe3297e (patch) | |
tree | af469f536ede3b5e1961e26e2195d610827dcc5e /net | |
parent | 16bec31db751030171b31d7767fa3a5bdbe980ea (diff) |
[IPV6]: Do not set IF_READY if device is down
Now that we add the IPv6 device at registration time we don't need
to set IF_READY in ipv6_add_dev anymore because we will always get
a NETDEV_UP event later on should the device ever become ready.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/addrconf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index e16f1bba5dff..a7fee6b27320 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -342,10 +342,6 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev) | |||
342 | } | 342 | } |
343 | #endif | 343 | #endif |
344 | 344 | ||
345 | if (netif_carrier_ok(dev)) | ||
346 | ndev->if_flags |= IF_READY; | ||
347 | |||
348 | |||
349 | ipv6_mc_init_dev(ndev); | 345 | ipv6_mc_init_dev(ndev); |
350 | ndev->tstamp = jiffies; | 346 | ndev->tstamp = jiffies; |
351 | #ifdef CONFIG_SYSCTL | 347 | #ifdef CONFIG_SYSCTL |