From 5ddc57942fb3efd5461a46d6a838db67de407d44 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Thu, 4 Jul 2002 23:19:20 +0000 Subject: [PATCH] Disable hardware checksum offloading of IP fragments in the bge driver. I tried a few obvious experiments, but was unable to make the 3c996B-T generate correct UDP checksums for transmitted fragmented packets. I'm not so sure the device is even capable of it. This fixes NFS over UDP. MFC after: 1 day --- sys/dev/bge/if_bge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index afb01a77d07..eaf2c7b7b92 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -113,7 +113,7 @@ #include -#define BGE_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_IP_FRAGS) +#define BGE_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP) MODULE_DEPEND(bge, miibus, 1, 1, 1);