Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 21:58:21 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241494 - head/sys/dev/cxgbe
Message-ID:  <201210122158.q9CLwMkx083136@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210122158.q9CLwMkx083136>