Disabled input hardware checksum due to it being calculated incorrected
for some packets, in particular small (0 byte payload) packets. May also be related to TCP options. Approved by: wpaul MFC after: 3 days
This commit is contained in:
parent
d86bd19c7f
commit
833d5e81b5
@ -1890,6 +1890,7 @@ bge_rxeof(sc)
|
||||
/* Remove header from mbuf and pass it on. */
|
||||
m_adj(m, sizeof(struct ether_header));
|
||||
|
||||
#if 0 /* currently broken for some packets, possibly related to TCP options */
|
||||
if (ifp->if_hwassist) {
|
||||
m->m_pkthdr.csum_flags |= CSUM_IP_CHECKED;
|
||||
if ((cur_rx->bge_ip_csum ^ 0xffff) == 0)
|
||||
@ -1900,6 +1901,7 @@ bge_rxeof(sc)
|
||||
m->m_pkthdr.csum_flags |= CSUM_DATA_VALID;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If we received a packet with a vlan tag, pass it
|
||||
|
Loading…
Reference in New Issue
Block a user