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; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"