Date: Fri, 7 Dec 2001 12:09:27 -0500 (EST) From: Mike Silbersack <silby@silby.com> To: Robert Watson <rwatson@FreeBSD.org> Cc: <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/netinet tcp_timer.c Message-ID: <Pine.BSF.4.30.0112071207540.89187-100000@niwun.pair.com> In-Reply-To: <200112071701.fB7H1St36879@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Dec 2001, Robert Watson wrote:
> rwatson 2001/12/07 09:01:28 PST
>
> Modified files:
> sys/netinet tcp_timer.c
> Log:
> o Our currenty userland boot code (due to rc.conf and rc.network) always
> enables TCP keepalives using the net.inet.tcp.always_keepalive by default.
> Synchronize the kernel default with the userland default.
>
> Revision Changes Path
> 1.48 +2 -2 src/sys/netinet/tcp_timer.c
Heh, I was just about to ask about this before you committed. This
actually applies to all of our rc.conf settings. It looks like a lot are
of the form:
case ${tcp_keepalive} in
[Yy][Ee][Ss])
echo -n ' TCP keepalive=YES'
sysctl -w net.inet.tcp.always_keepalive=1 >/dev/null
;;
esac
Again, I suck at shell scripting, so I need some help with the
interpretation. Does this mean that TCP keepalive=NO will do nothing, and
the kernel default will stick?
Thanks,
Mike "Silby" Silbersack
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.30.0112071207540.89187-100000>
