View | Details | Raw Unified | Return to bug 235704
Collapse All | Expand All

(-)sys/net/if_clone.c (-6 / +2 lines)
Lines 269-280 Link Here
269
	if (ifc == NULL && !IS_DEFAULT_VNET(curvnet)) {
269
	if (ifc == NULL && !IS_DEFAULT_VNET(curvnet)) {
270
		CURVNET_SET_QUIET(vnet0);
270
		CURVNET_SET_QUIET(vnet0);
271
		LIST_FOREACH(ifc, &V_if_cloners, ifc_list)
271
		LIST_FOREACH(ifc, &V_if_cloners, ifc_list)
272
			if (ifc->ifc_type == SIMPLE) {
272
			if (strcmp(ifc->ifc_name, ifp->if_dname) == 0) {
273
				if (ifc_simple_match(ifc, name))
273
				break;
274
					break;
275
			} else {
276
				if (ifc->ifc_match(ifc, name))
277
					break;
278
			}
274
			}
279
		CURVNET_RESTORE();
275
		CURVNET_RESTORE();
280
	}
276
	}

Return to bug 235704