diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-06-06 19:17:10 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-06-06 19:17:10 +0000 |
commit | 14a2ffa7d8194061907a5c5a142ccaeb9ddc2282 (patch) | |
tree | a07ee3ef20027fe906ea76c7064d6fb169df3cf3 /sys/dev/nge | |
parent | 1f5186746681c74bb2f31c351a5021fa21c40ad8 (diff) | |
download | FreeBSD-src-14a2ffa7d8194061907a5c5a142ccaeb9ddc2282.zip FreeBSD-src-14a2ffa7d8194061907a5c5a142ccaeb9ddc2282.tar.gz |
Disable extra TCP/UCP checksum checking in nge_rxeof() for now.
Diffstat (limited to 'sys/dev/nge')
-rw-r--r-- | sys/dev/nge/if_nge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index f5fb23e..1530a4c 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -1293,6 +1293,7 @@ static void nge_rxeof(sc) m->m_pkthdr.csum_flags |= CSUM_IP_CHECKED; if (!(extsts & NGE_RXEXTSTS_IPCSUMERR)) m->m_pkthdr.csum_flags |= CSUM_IP_VALID; +#ifdef notdef if ((extsts & NGE_RXEXTSTS_TCPPKT && !(extsts & NGE_RXEXTSTS_TCPCSUMERR)) || (extsts & NGE_RXEXTSTS_UDPPKT && @@ -1301,6 +1302,7 @@ static void nge_rxeof(sc) CSUM_DATA_VALID|CSUM_PSEUDO_HDR; m->m_pkthdr.csum_data = 0; } +#endif } #if NVLAN > 0 |