Temporary fix for kern/172364.

PR:		kern/172364
MFC after:	3 days
This commit is contained in:
Navdeep Parhar 2012-10-12 21:58:21 +00:00
parent 86e02bf207
commit 8039b7e51b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241494

View File

@ -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);