diff options
-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 101e0e70ba27..e11f10eceffc 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -1831,6 +1831,9 @@ ok: | |||
1831 | * lifetimes of an existing temporary address | 1831 | * lifetimes of an existing temporary address |
1832 | * when processing a Prefix Information Option. | 1832 | * when processing a Prefix Information Option. |
1833 | */ | 1833 | */ |
1834 | if (ifp != ift->ifpub) | ||
1835 | continue; | ||
1836 | |||
1834 | spin_lock(&ift->lock); | 1837 | spin_lock(&ift->lock); |
1835 | flags = ift->flags; | 1838 | flags = ift->flags; |
1836 | if (ift->valid_lft > valid_lft && | 1839 | if (ift->valid_lft > valid_lft && |