summaryrefslogtreecommitdiffstats
path: root/sys/dev/nge
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-06-16 04:02:37 +0000
committerwpaul <wpaul@FreeBSD.org>2001-06-16 04:02:37 +0000
commit81a67b96b997f71f3a5e1ed70c12b32e4d9fd86c (patch)
tree38476c5d1c83f974353b6962ae64e5b22bc054c9 /sys/dev/nge
parent67401af855dc25f469be2dac62ad5e3f15a7b805 (diff)
downloadFreeBSD-src-81a67b96b997f71f3a5e1ed70c12b32e4d9fd86c.zip
FreeBSD-src-81a67b96b997f71f3a5e1ed70c12b32e4d9fd86c.tar.gz
Mind-o in last commit: s/==/>=/ when checking MTU size. *blush*
Diffstat (limited to 'sys/dev/nge')
-rw-r--r--sys/dev/nge/if_nge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c
index 2dcee41..ed74087 100644
--- a/sys/dev/nge/if_nge.c
+++ b/sys/dev/nge/if_nge.c
@@ -1871,7 +1871,7 @@ static int nge_ioctl(ifp, command, data)
* 8152 (TX FIFO size minus 64 minus 18), turn off
* TX checksum offloading.
*/
- if (ifr->ifr_mtu == 8152)
+ if (ifr->ifr_mtu >= 8152)
ifp->if_hwassist = 0;
else
ifp->if_hwassist = NGE_CSUM_FEATURES;
OpenPOWER on IntegriCloud