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

(-)b/sys/netgraph/ng_ether.c (-1 / +5 lines)
Lines 667-672 ng_ether_rcv_lower(hook_p hook, item_p item) Link Here
667
	const node_p node = NG_HOOK_NODE(hook);
667
	const node_p node = NG_HOOK_NODE(hook);
668
	const priv_p priv = NG_NODE_PRIVATE(node);
668
	const priv_p priv = NG_NODE_PRIVATE(node);
669
 	struct ifnet *const ifp = priv->ifp;
669
 	struct ifnet *const ifp = priv->ifp;
670
	int error;
670
671
671
	NGI_GET_M(item, m);
672
	NGI_GET_M(item, m);
672
	NG_FREE_ITEM(item);
673
	NG_FREE_ITEM(item);
Lines 703-709 ng_ether_rcv_lower(hook_p hook, item_p item) Link Here
703
	}
704
	}
704
705
705
	/* Send it on its way */
706
	/* Send it on its way */
706
	return ether_output_frame(ifp, m);
707
	CURVNET_SET(ifp->if_vnet);
708
	error = ether_output_frame(ifp, m);
709
	CURVNET_RESTORE();
710
	return (error);
707
}
711
}
708
712
709
/*
713
/*

Return to bug 248958