diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c index 03ad83cfa4cd..87f421610220 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) {