Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci PR 51672 David Binderman: M_CSUM_TCPv6, not...
details: https://anonhg.NetBSD.org/src/rev/51e0d2b56df9
branches: trunk
changeset: 349208:51e0d2b56df9
user: dholland <dholland%NetBSD.org@localhost>
date: Tue Nov 29 22:27:09 2016 +0000
description:
PR 51672 David Binderman: M_CSUM_TCPv6, not 2x M_CSUM_TCPv4.
(from context it's quite clear that's what's supposed to be here)
diffstat:
sys/arch/x86/pci/if_vmx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0cf6fa5b2bb9 -r 51e0d2b56df9 sys/arch/x86/pci/if_vmx.c
--- a/sys/arch/x86/pci/if_vmx.c Tue Nov 29 22:04:42 2016 +0000
+++ b/sys/arch/x86/pci/if_vmx.c Tue Nov 29 22:27:09 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vmx.c,v 1.10 2016/11/28 20:12:41 martin Exp $ */
+/* $NetBSD: if_vmx.c,v 1.11 2016/11/29 22:27:09 dholland Exp $ */
/* $OpenBSD: if_vmx.c,v 1.16 2014/01/22 06:04:17 brad Exp $ */
/*
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.10 2016/11/28 20:12:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.11 2016/11/29 22:27:09 dholland Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -2552,7 +2552,7 @@
*start = offset + iphl;
if (m->m_pkthdr.csum_flags &
- (M_CSUM_TCPv4 | M_CSUM_TCPv4 | M_CSUM_TSOv4 | M_CSUM_TSOv6)) {
+ (M_CSUM_TCPv4 | M_CSUM_TCPv6 | M_CSUM_TSOv4 | M_CSUM_TSOv6)) {
csum_off = offsetof(struct tcphdr, th_sum);
} else {
csum_off = offsetof(struct udphdr, uh_sum);
Home |
Main Index |
Thread Index |
Old Index