aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack F Vogel <jfv@FreeBSD.org>2010-12-15 22:48:44 +0000
committerJack F Vogel <jfv@FreeBSD.org>2010-12-15 22:48:44 +0000
commit649b83c46824a132a615c56bd5397a78158d355f (patch)
tree7f9ca06d42dcc784700a851130f9cca50f3f4af7
parent49749270a380502bfb13a496705555255f9978f8 (diff)
Notes
-rw-r--r--sys/dev/e1000/if_igb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index 133887e9d3f7..4700829211b1 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -3264,8 +3264,6 @@ igb_tx_ctx_setup(struct tx_ring *txr, struct mbuf *mp)
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;