svn commit: r241494 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Fri Oct 12 21:58:22 UTC 2012


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


More information about the svn-src-head mailing list