From 8039b7e51ba3fec2bcf775662f859c246359b45e Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Fri, 12 Oct 2012 21:58:21 +0000 Subject: [PATCH] Temporary fix for kern/172364. PR: kern/172364 MFC after: 3 days --- sys/dev/cxgbe/t4_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index 07bcba0e5e26..ff8063e73abf 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -2992,7 +2992,7 @@ cxgbe_vlan_config(void *arg, struct ifnet *ifp, uint16_t vid) { struct ifnet *vlan; - if (arg != ifp) + if (arg != ifp || ifp->if_type != IFT_ETHER) return; vlan = VLAN_DEVAT(ifp, vid);