diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-05-29 21:44:45 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-05-29 21:44:45 +0000 |
commit | a85eca56dc556be026d731139ebf5cdac1cc705b (patch) | |
tree | 91db65ee9a8e51e558192e0c33a55d3884bbd561 /sys/dev/nge | |
parent | d442761285cb9aec0bf9a30cd101676181c09e4b (diff) | |
download | FreeBSD-src-a85eca56dc556be026d731139ebf5cdac1cc705b.zip FreeBSD-src-a85eca56dc556be026d731139ebf5cdac1cc705b.tar.gz |
Fix mind-o in nge_rxeof(): I used CSUM_IP_CHECKED twice instead of
CSUM_IP_CHECKED|CSUM_IP_VALID.
Diffstat (limited to 'sys/dev/nge')
-rw-r--r-- | sys/dev/nge/if_nge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index 49c49d4..bbab6e9 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -1292,7 +1292,7 @@ static void nge_rxeof(sc) if (extsts & NGE_RXEXTSTS_IPPKT) m->m_pkthdr.csum_flags |= CSUM_IP_CHECKED; if (!(extsts & NGE_RXEXTSTS_IPCSUMERR)) - m->m_pkthdr.csum_flags |= CSUM_IP_CHECKED; + m->m_pkthdr.csum_flags |= CSUM_IP_VALID; } #if NVLAN > 0 |