Temporary fix for kern/172364.

PR:		kern/172364
MFC after:	3 days
This commit is contained in:
np 2012-10-12 21:58:21 +00:00
parent aaf451dcc7
commit 15609ffe5b

View File

@ -2992,7 +2992,7 @@ cxgbe_vlan_config(void *arg, struct ifnet *ifp, uint16_t vid)
{ {
struct ifnet *vlan; struct ifnet *vlan;
if (arg != ifp) if (arg != ifp || ifp->if_type != IFT_ETHER)
return; return;
vlan = VLAN_DEVAT(ifp, vid); vlan = VLAN_DEVAT(ifp, vid);