Author: np
Date: Fri Oct 12 21:58:21 2012
New Revision: 241494
URL: http://svn.freebsd.org/changeset/base/241494

Log:
  Temporary fix for kern/172364.
  
  PR:           kern/172364
  MFC after:    3 days

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c        Fri Oct 12 21:48:21 2012        
(r241493)
+++ head/sys/dev/cxgbe/t4_main.c        Fri Oct 12 21:58:21 2012        
(r241494)
@@ -2992,7 +2992,7 @@ cxgbe_vlan_config(void *arg, struct ifne
 {
        struct ifnet *vlan;
 
-       if (arg != ifp)
+       if (arg != ifp || ifp->if_type != IFT_ETHER)
                return;
 
        vlan = VLAN_DEVAT(ifp, vid);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to