Remove the bogus test in the TX context setup for IPV6,
the size can be smaller than the constant when you are doing HW TAGGING, and you still need to process this packet in a normal way. I'm not sure where the notion to just return came from, but its wrong. MFC after: 3 days
This commit is contained in:
parent
48a970ffdb
commit
dbee1ed369
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user