Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db32531d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ipv6: don't disable interface if last ipv6 address is removed"

parents 38cbc36d 897fb09f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;
		}
	}