Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 22:59:51 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r216467 - stable/8/sys/dev/e1000
Message-ID:  <201012152259.oBFMxpRl098421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jfv
Date: Wed Dec 15 22:59:50 2010
New Revision: 216467
URL: http://svn.freebsd.org/changeset/base/216467

Log:
  MFC r216173
  
  Remove the test for a minimum frame size from the IPV6 TX context
  descriptor setup, when using VLANs and HW TAGGING the length of
  an ICMP6 frame will fail this test and be discarded.
  
  Approved by: re

Modified:
  stable/8/sys/dev/e1000/if_igb.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/e1000/if_igb.c
==============================================================================
--- stable/8/sys/dev/e1000/if_igb.c	Wed Dec 15 22:58:45 2010	(r216466)
+++ stable/8/sys/dev/e1000/if_igb.c	Wed Dec 15 22:59:50 2010	(r216467)
@@ -3429,8 +3429,6 @@ igb_tx_ctx_setup(struct tx_ring *txr, st
 		case ETHERTYPE_IPV6:
 			ip6 = (struct ip6_hdr *)(mp->m_data + ehdrlen);
 			ip_hlen = sizeof(struct ip6_hdr);
-			if (mp->m_len < ehdrlen + ip_hlen)
-				return (FALSE);
 			ipproto = ip6->ip6_nxt;
 			type_tucmd_mlhl |= E1000_ADVTXD_TUCMD_IPV6;
 			break;



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