diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
| -rw-r--r-- | net/ipv6/addrconf.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 1db50487916b..19727d941962 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c  | |||
| @@ -822,7 +822,7 @@ struct ipv6_saddr_score { | |||
| 822 | int addr_type; | 822 | int addr_type; | 
| 823 | unsigned int attrs; | 823 | unsigned int attrs; | 
| 824 | int matchlen; | 824 | int matchlen; | 
| 825 | unsigned int scope; | 825 | int scope; | 
| 826 | unsigned int rule; | 826 | unsigned int rule; | 
| 827 | }; | 827 | }; | 
| 828 | 828 | ||
| @@ -2165,6 +2165,9 @@ static int addrconf_notify(struct notifier_block *this, unsigned long event, | |||
| 2165 | dev->name); | 2165 | dev->name); | 
| 2166 | break; | 2166 | break; | 
| 2167 | } | 2167 | } | 
| 2168 | |||
| 2169 | if (idev) | ||
| 2170 | idev->if_flags |= IF_READY; | ||
| 2168 | } else { | 2171 | } else { | 
| 2169 | if (!netif_carrier_ok(dev)) { | 2172 | if (!netif_carrier_ok(dev)) { | 
| 2170 | /* device is still not ready. */ | 2173 | /* device is still not ready. */ | 
