aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hme
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2006-01-17 06:02:22 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2006-01-17 06:02:22 +0000
commit1a98c9b4a2eaabfbd63ec0f6cfa50501ab6bc311 (patch)
tree460fa1dcd06cd5180fac6d0a9fd5aa25fe89f8d3 /sys/dev/hme
parentc57c874824907dfc42ab1d9bc6e7cab627ba3c2e (diff)
Notes
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 6af425789e26..17a8a0e89ff1 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 = ~(flags & HME_XD_RXCKSUM);
+ cksum = htons(~(flags & HME_XD_RXCKSUM));
/* checksum fixup for IP options */
len = hlen - sizeof(struct ip);
if (len > 0) {