From 4dc54e7fa6438c983dcb9497296699860bc13f41 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Tue, 5 Apr 2011 18:01:22 +0000 Subject: mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUT ok claudio krw --- sys/dev/pci/if_vr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci/if_vr.c') 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; } -- cgit v1.2.3