summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vr.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2011-04-05 18:01:22 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2011-04-05 18:01:22 +0000
commit4dc54e7fa6438c983dcb9497296699860bc13f41 (patch)
tree0615f65c34b4f93226b68db35c1fe3bf9b830f59 /sys/dev/pci/if_vr.c
parentd4c4b70e6b80a4fccfa10cfd0afd5597c8859890 (diff)
mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUT
ok claudio krw
Diffstat (limited to 'sys/dev/pci/if_vr.c')
-rw-r--r--sys/dev/pci/if_vr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c
index 7703a2a65cb..2ee8f804323 100644
--- a/sys/dev/pci/if_vr.c
+++ b/sys/dev/pci/if_vr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.108 2011/03/13 15:38:50 stsp Exp $ */
+/* $OpenBSD: if_vr.c,v 1.109 2011/04/05 18:01:21 henning Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1149,9 +1149,9 @@ vr_encap(struct vr_softc *sc, struct vr_chain *c, struct mbuf *m_head)
if (sc->vr_quirks & VR_Q_CSUM) {
if (m_head->m_pkthdr.csum_flags & M_IPV4_CSUM_OUT)
vr_flags |= VR_TXCTL_IPCSUM;
- if (m_head->m_pkthdr.csum_flags & M_TCPV4_CSUM_OUT)
+ if (m_head->m_pkthdr.csum_flags & M_TCP_CSUM_OUT)
vr_flags |= VR_TXCTL_TCPCSUM;
- if (m_head->m_pkthdr.csum_flags & M_UDPV4_CSUM_OUT)
+ if (m_head->m_pkthdr.csum_flags & M_UDP_CSUM_OUT)
vr_flags |= VR_TXCTL_UDPCSUM;
}