diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-10-05 22:39:44 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-10-05 22:39:44 +0000 |
commit | 54871123ad3fb4bdef3b932d49f54df976d67f98 (patch) | |
tree | 9ba5bb8022b40f5c7b429ec66622a85552e52032 /sys/netinet | |
parent | 3739d97391b3e98c82d80460662883c1c793d926 (diff) | |
download | FreeBSD-src-54871123ad3fb4bdef3b932d49f54df976d67f98.zip FreeBSD-src-54871123ad3fb4bdef3b932d49f54df976d67f98.tar.gz |
Disable TCP syncache debug logging by default. While useful in debugging
problems with the syncache, it produces a lot of console noise and has led
to quite a few false positive bug reports. It can be selectively
re-enabled when debugging specific problems by frobbing the same sysctl.
Discussed with: silby
Approved by: re (gnn)
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 0dde162..0514fa0 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -133,7 +133,7 @@ int tcp_do_rfc1323 = 1; SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1323, rfc1323, CTLFLAG_RW, &tcp_do_rfc1323, 0, "Enable rfc1323 (high performance TCP) extensions"); -static int tcp_log_debug = 1; +static int tcp_log_debug = 0; SYSCTL_INT(_net_inet_tcp, OID_AUTO, log_debug, CTLFLAG_RW, &tcp_log_debug, 0, "Log errors caused by incoming TCP segments"); |