mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-27 14:11:04 +00:00
Merge "ipv6: don't disable interface if last ipv6 address is removed"
This commit is contained in:
commit
db32531d78
@ -2580,12 +2580,6 @@ static int inet6_addr_del(struct net *net, int ifindex, const struct in6_addr *p
|
||||
read_unlock_bh(&idev->lock);
|
||||
|
||||
ipv6_del_addr(ifp);
|
||||
|
||||
/* If the last address is deleted administratively,
|
||||
disable IPv6 on this interface.
|
||||
*/
|
||||
if (list_empty(&idev->addr_list))
|
||||
addrconf_ifdown(idev->dev, 1);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user