Remove stale comment. in6_ifdetach() can be called from places

where addresses are not removed yet.
This commit is contained in:
ae 2018-06-14 09:29:39 +00:00
parent 42f17407d0
commit 5568626787

View File

@ -749,7 +749,6 @@ _in6_ifdetach(struct ifnet *ifp, int purgeulp)
/*
* nuke any of IPv6 addresses we have
* XXX: all addresses should be already removed
*/
CK_STAILQ_FOREACH_SAFE(ifa, &ifp->if_addrhead, ifa_link, next) {
if (ifa->ifa_addr->sa_family != AF_INET6)