summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-04-25 17:55:53 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-04-25 17:55:53 +0000
commit948b72c9a135a04cadb7d569abfe4a17c69116cb (patch)
tree4ddde61c6f85bfa035976cb676fb6832cbb7e452 /sys/dev/pci/if_em.c
parent92631af20d38789c1d412f4010fbe288e4abac35 (diff)
csum -> csum_flags
ok krw@ canacar@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 3ad2342bb48..50afcf63e4d 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
-/* $OpenBSD: if_em.c,v 1.46 2005/04/25 02:08:08 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.47 2005/04/25 17:55:51 brad Exp $ */
#include "bpfilter.h"
#include "vlan.h"
@@ -2638,12 +2638,12 @@ em_receive_checksum(struct em_softc *sc,
if ((rx_desc->status & (E1000_RXD_STAT_IPCS|E1000_RXD_ERR_IPE)) ==
E1000_RXD_STAT_IPCS)
- mp->m_pkthdr.csum |= M_IPV4_CSUM_IN_OK;
+ mp->m_pkthdr.csum_flags |= M_IPV4_CSUM_IN_OK;
if ((rx_desc->status & (E1000_RXD_STAT_IPCS|E1000_RXD_ERR_IPE|
E1000_RXD_STAT_TCPCS|E1000_RXD_ERR_TCPE)) ==
(E1000_RXD_STAT_TCPCS | E1000_RXD_STAT_IPCS))
- mp->m_pkthdr.csum |= M_TCP_CSUM_IN_OK | M_UDP_CSUM_IN_OK;
+ mp->m_pkthdr.csum_flags |= M_TCP_CSUM_IN_OK | M_UDP_CSUM_IN_OK;
}
void