Temporary fix for kern/172364.
PR: kern/172364 MFC after: 3 days
This commit is contained in:
parent
aaf451dcc7
commit
15609ffe5b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user