svn commit: r335128 - head/sys/netinet6

Andrey V. Elsukov ae at FreeBSD.org
Thu Jun 14 09:29:40 UTC 2018


Author: ae
Date: Thu Jun 14 09:29:39 2018
New Revision: 335128
URL: https://svnweb.freebsd.org/changeset/base/335128

Log:
  Remove stale comment.  in6_ifdetach() can be called from places
  where addresses are not removed yet.

Modified:
  head/sys/netinet6/in6_ifattach.c

Modified: head/sys/netinet6/in6_ifattach.c
==============================================================================
--- head/sys/netinet6/in6_ifattach.c	Thu Jun 14 09:10:34 2018	(r335127)
+++ head/sys/netinet6/in6_ifattach.c	Thu Jun 14 09:29:39 2018	(r335128)
@@ -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)


More information about the svn-src-all mailing list