diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/addrconf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 1b616992d916..7552663aa125 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -342,6 +342,9 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev) | |||
342 | } | 342 | } |
343 | #endif | 343 | #endif |
344 | 344 | ||
345 | if (netif_running(dev) && netif_carrier_ok(dev)) | ||
346 | ndev->if_flags |= IF_READY; | ||
347 | |||
345 | ipv6_mc_init_dev(ndev); | 348 | ipv6_mc_init_dev(ndev); |
346 | ndev->tstamp = jiffies; | 349 | ndev->tstamp = jiffies; |
347 | #ifdef CONFIG_SYSCTL | 350 | #ifdef CONFIG_SYSCTL |