summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJack F Vogel <jfv@FreeBSD.org>2010-12-15 22:59:50 +0000
committerJack F Vogel <jfv@FreeBSD.org>2010-12-15 22:59:50 +0000
commit727998f369a1d7e50e38bb6a51ff186ed837461e (patch)
tree5328a4af2f559d3c870f913f8ce1f8da55fb1f02 /sys/dev
parentd94ce5c6565063294616ce42e8ddd90965dad7a1 (diff)
Notes
Diffstat (limited to 'sys/dev')
-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 14ccede61184..ff3c2cfaac75 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -3429,8 +3429,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;