Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet ip_mloopback(): process the delayed checksum on ...
details: https://anonhg.NetBSD.org/src/rev/c193511a3871
branches: trunk
changeset: 521826:c193511a3871
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Feb 06 18:00:01 2002 +0000
description:
ip_mloopback(): process the delayed checksum on the copy, not
the original mbuf.
diffstat:
sys/netinet/ip_output.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 334ee7df3dea -r c193511a3871 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c Wed Feb 06 17:41:42 2002 +0000
+++ b/sys/netinet/ip_output.c Wed Feb 06 18:00:01 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_output.c,v 1.93 2002/01/31 07:45:22 itojun Exp $ */
+/* $NetBSD: ip_output.c,v 1.94 2002/02/06 18:00:01 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -102,7 +102,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.93 2002/01/31 07:45:22 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.94 2002/02/06 18:00:01 thorpej Exp $");
#include "opt_pfil_hooks.h"
#include "opt_ipsec.h"
@@ -1645,7 +1645,7 @@
HTONS(ip->ip_off);
if (copym->m_pkthdr.csum_flags & (M_CSUM_TCPv4|M_CSUM_UDPv4)) {
- in_delayed_cksum(m);
+ in_delayed_cksum(copym);
copym->m_pkthdr.csum_flags &=
~(M_CSUM_TCPv4|M_CSUM_UDPv4);
}
Home |
Main Index |
Thread Index |
Old Index