From owner-cvs-all Fri Dec 7 9: 9:36 2001 Delivered-To: cvs-all@freebsd.org Received: from niwun.pair.com (niwun.pair.com [209.68.2.70]) by hub.freebsd.org (Postfix) with SMTP id 4DC1B37B41C for ; Fri, 7 Dec 2001 09:09:28 -0800 (PST) Received: (qmail 92909 invoked by uid 3193); 7 Dec 2001 17:09:27 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Dec 2001 17:09:27 -0000 Date: Fri, 7 Dec 2001 12:09:27 -0500 (EST) From: Mike Silbersack X-Sender: To: Robert Watson Cc: , Subject: Re: cvs commit: src/sys/netinet tcp_timer.c In-Reply-To: <200112071701.fB7H1St36879@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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