From 5dbde3ff574239955a5fa02de72d7224ea283738 Mon Sep 17 00:00:00 2001 From: Pyun YongHyeon Date: Tue, 21 Mar 2006 12:21:51 +0000 Subject: [PATCH] Backout rev. 1.46. It caused Rx checksum offload breakage on little endian systems. Reported by: joerg Tested by: joerg --- sys/dev/hme/if_hme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c index 17a8a0e89ff..6af425789e2 100644 --- a/sys/dev/hme/if_hme.c +++ b/sys/dev/hme/if_hme.c @@ -1230,7 +1230,7 @@ hme_rxcksum(struct mbuf *m, u_int32_t flags) return; } - cksum = htons(~(flags & HME_XD_RXCKSUM)); + cksum = ~(flags & HME_XD_RXCKSUM); /* checksum fixup for IP options */ len = hlen - sizeof(struct ip); if (len > 0) { -- 2.45.2