Date: Wed, 15 Dec 2010 22:48:44 +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-7@freebsd.org Subject: svn commit: r216465 - stable/7/sys/dev/e1000 Message-ID: <201012152248.oBFMmijK097210@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jfv Date: Wed Dec 15 22:48:44 2010 New Revision: 216465 URL: http://svn.freebsd.org/changeset/base/216465 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/7/sys/dev/e1000/if_igb.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/e1000/if_igb.c ============================================================================== --- stable/7/sys/dev/e1000/if_igb.c Wed Dec 15 20:08:29 2010 (r216464) +++ stable/7/sys/dev/e1000/if_igb.c Wed Dec 15 22:48:44 2010 (r216465) @@ -3264,8 +3264,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?201012152248.oBFMmijK097210>