View | Details | Raw Unified | Return to bug 195197 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/netinet6/nd6.c (+2 lines)
Lines 1795-1800 nd6_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp) Link Here
1795
		LIST_FOREACH_SAFE(pr, &V_nd_prefix, ndpr_entry, next) {
1795
		LIST_FOREACH_SAFE(pr, &V_nd_prefix, ndpr_entry, next) {
1796
			if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr))
1796
			if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr))
1797
				continue; /* XXX */
1797
				continue; /* XXX */
1798
			if (LIST_EMPTY(&pr->ndpr_advrtrs))
1799
				continue;
1798
			nd6_prefix_unlink(pr, &prl);
1800
			nd6_prefix_unlink(pr, &prl);
1799
		}
1801
		}
1800
		ND6_WUNLOCK();
1802
		ND6_WUNLOCK();

Return to bug 195197