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

where addresses are not removed yet.
This commit is contained in:
Andrey V. Elsukov 2018-06-14 09:29:39 +00:00
parent 7f56394a3c
commit e36c281fc9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335128

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)