diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
-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 d805241e439c..2a6439e3c91c 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -2782,6 +2782,9 @@ restart: | |||
2782 | in6_ifa_hold(ifpub); | 2782 | in6_ifa_hold(ifpub); |
2783 | spin_unlock(&ifp->lock); | 2783 | spin_unlock(&ifp->lock); |
2784 | read_unlock(&addrconf_hash_lock); | 2784 | read_unlock(&addrconf_hash_lock); |
2785 | spin_lock(&ifpub->lock); | ||
2786 | ifpub->regen_count = 0; | ||
2787 | spin_unlock(&ifpub->lock); | ||
2785 | ipv6_create_tempaddr(ifpub, ifp); | 2788 | ipv6_create_tempaddr(ifpub, ifp); |
2786 | in6_ifa_put(ifpub); | 2789 | in6_ifa_put(ifpub); |
2787 | in6_ifa_put(ifp); | 2790 | in6_ifa_put(ifp); |