Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Turn checksumming on loopback back on until we f...
details: https://anonhg.NetBSD.org/src/rev/e320a41216bb
branches: trunk
changeset: 572092:e320a41216bb
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 17 22:54:52 2004 +0000
description:
Turn checksumming on loopback back on until we fix the bugs in it.
Connect over tcp on the loopback is broken:
4729 amq 0.000007 CALL connect(4,0x804f2a0,0x1c)
4729 amq 75.007420 RET connect -1 errno 60 Connection timed out
diffstat:
sys/netinet/ip_input.c | 6 +++---
sys/netinet/tcp_subr.c | 6 +++---
sys/netinet/udp_usrreq.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 7e3c48f09751 -r e320a41216bb sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c Fri Dec 17 19:41:04 2004 +0000
+++ b/sys/netinet/ip_input.c Fri Dec 17 22:54:52 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_input.c,v 1.206 2004/12/15 04:25:19 thorpej Exp $ */
+/* $NetBSD: ip_input.c,v 1.207 2004/12/17 22:54:52 christos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -98,7 +98,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.206 2004/12/15 04:25:19 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.207 2004/12/17 22:54:52 christos Exp $");
#include "opt_inet.h"
#include "opt_gateway.h"
@@ -200,7 +200,7 @@
#endif
int ip_do_randomid = 0;
-int ip_do_loopback_cksum = 0;
+int ip_do_loopback_cksum = 1;
/*
* XXX - Setting ip_checkinterface mostly implements the receive side of
diff -r 7e3c48f09751 -r e320a41216bb sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c Fri Dec 17 19:41:04 2004 +0000
+++ b/sys/netinet/tcp_subr.c Fri Dec 17 22:54:52 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_subr.c,v 1.174 2004/12/15 04:25:20 thorpej Exp $ */
+/* $NetBSD: tcp_subr.c,v 1.175 2004/12/17 22:54:52 christos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -98,7 +98,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_subr.c,v 1.174 2004/12/15 04:25:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_subr.c,v 1.175 2004/12/17 22:54:52 christos Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -200,7 +200,7 @@
#endif
int tcp_rst_ppslim = 100; /* 100pps */
int tcp_ackdrop_ppslim = 100; /* 100pps */
-int tcp_do_loopback_cksum = 0;
+int tcp_do_loopback_cksum = 1;
/* tcb hash */
#ifndef TCBHASHSIZE
diff -r 7e3c48f09751 -r e320a41216bb sys/netinet/udp_usrreq.c
--- a/sys/netinet/udp_usrreq.c Fri Dec 17 19:41:04 2004 +0000
+++ b/sys/netinet/udp_usrreq.c Fri Dec 17 22:54:52 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udp_usrreq.c,v 1.125 2004/12/15 04:25:20 thorpej Exp $ */
+/* $NetBSD: udp_usrreq.c,v 1.126 2004/12/17 22:54:52 christos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.125 2004/12/15 04:25:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.126 2004/12/17 22:54:52 christos Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -141,7 +141,7 @@
#else
int udpcksum = 0; /* XXX */
#endif
-int udp_do_loopback_cksum = 0;
+int udp_do_loopback_cksum = 1;
struct inpcbtable udbtable;
struct udpstat udpstat;
Home |
Main Index |
Thread Index |
Old Index