Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2012 18:16:42 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242403 - head/sys/dev/ixgbe
Message-ID:  <201210311816.q9VIGgxA003166@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jfv
Date: Wed Oct 31 18:16:42 2012
New Revision: 242403
URL: http://svn.freebsd.org/changeset/base/242403

Log:
  Correct code that was lost somewhere in the past,
  this was designed to keep duplicate null vlan tags from
  being added. When doing vlans purely via the switch
  this problem will occur. Reported by external customer.

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Wed Oct 31 18:07:18 2012	(r242402)
+++ head/sys/dev/ixgbe/ixgbe.c	Wed Oct 31 18:16:42 2012	(r242403)
@@ -4688,7 +4688,7 @@ ixgbe_rxeof(struct ix_queue *que, int co
 				/* first desc of a non-ps chain */
 				sendmp->m_flags |= M_PKTHDR;
 				sendmp->m_pkthdr.len = mp->m_len;
-				if (staterr & IXGBE_RXD_STAT_VP) {
+                                if (vtag) {
 					sendmp->m_pkthdr.ether_vtag = vtag;
 					sendmp->m_flags |= M_VLANTAG;
 				}



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