diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/addrconf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 6287a8b9f428..ab3e796596b1 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -3624,8 +3624,7 @@ restart: | |||
3624 | state = ifa->state; | 3624 | state = ifa->state; |
3625 | ifa->state = INET6_IFADDR_STATE_DEAD; | 3625 | ifa->state = INET6_IFADDR_STATE_DEAD; |
3626 | 3626 | ||
3627 | list_del(&ifa->if_list); | 3627 | list_move(&ifa->if_list, &del_list); |
3628 | list_add(&ifa->if_list, &del_list); | ||
3629 | } | 3628 | } |
3630 | 3629 | ||
3631 | spin_unlock_bh(&ifa->lock); | 3630 | spin_unlock_bh(&ifa->lock); |