Date: Sat, 28 Jul 2007 12:20:40 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_input.c tcp_subr.c tcp_var.h Message-ID: <200707281220.l6SCKeVh085152@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2007-07-28 12:20:39 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_input.c tcp_subr.c tcp_var.h
Log:
Provide a sysctl to toggle reporting of TCP debug logging:
sys.net.inet.tcp.log_debug = 1
It defaults to enabled for the moment and is to be turned off for
the next release like other diagnostics from development branches.
It is important to note that sysctl sys.net.inet.tcp.log_in_vain
uses the same logging function as log_debug. Enabling of the former
also causes the latter to engage, but not vice versa.
Use consistent terminology in tcp log messages:
"ignored" means a segment contains invalid flags/information and
is dropped without changing state or issuing a reply.
"rejected" means a segments contains invalid flags/information but
is causing a reply (usually RST) and may cause a state change.
Approved by: re (rwatson)
Revision Changes Path
1.365 +18 -8 src/sys/netinet/tcp_input.c
1.294 +8 -0 src/sys/netinet/tcp_subr.c
1.155 +1 -0 src/sys/netinet/tcp_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707281220.l6SCKeVh085152>
