From owner-freebsd-bugs Sun Dec 16 13:40: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7E8C237B41F for ; Sun, 16 Dec 2001 13:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBGLe1C26782; Sun, 16 Dec 2001 13:40:01 -0800 (PST) (envelope-from gnats) Received: from slackerbsd.org (cn488734-a.wall1.pa.home.com [65.9.18.254]) by hub.freebsd.org (Postfix) with SMTP id 1F61C37B405 for ; Sun, 16 Dec 2001 13:36:37 -0800 (PST) Received: (qmail 67948 invoked by uid 1000); 16 Dec 2001 21:36:34 -0000 Message-Id: <20011216213634.67947.qmail@slackerbsd.org> Date: 16 Dec 2001 21:36:34 -0000 From: carl@slackerbsd.org Reply-To: Carl Schmidt To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/32912: options misssing TCBHASHSIZE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32912 >Category: kern >Synopsis: options misssing TCBHASHSIZE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 16 13:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Carl Schmidt >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD Carbon.SlackerBSD.ORG 4.4-STABLE FreeBSD 4.4-STABLE #0: Thu Dec 13 19:42:50 EST 2001 root@Carbon.SlackerBSD.ORG:/usr/obj/usr/src/sys/CARBON i386 >Description: /sys/conf/options is lacking TCBHASHSIZE and so is LINT. This isn't really a sw-bug but i don't think misc or doc-bug would really be appropriate either. Sorry (and correct me) if I'm wrong. >How-To-Repeat: grep TCBHASHSIZE /sys/netinet/tcp_subr.c grep TCBHASHSIZE /sys/conf/options grep TCBHASHSIZE /sys/i386/conf/LINT >Fix: --- options.old Fri Nov 2 20:41:07 2001 +++ options Sun Dec 16 16:03:20 2001 @@ -269,6 +269,7 @@ PPP_FILTER opt_ppp.h RANDOM_IP_ID SLIP_IFF_OPTS opt_slip.h +TCBHASHSIZE TCPDEBUG TCP_DROP_SYNFIN opt_tcp_input.h XBONEHACK --- LINT.old Fri Dec 14 22:29:03 2001 +++ LINT Sun Dec 16 16:35:39 2001 @@ -556,6 +556,10 @@ # packets without touching the ttl). This can be useful to hide firewalls # from traceroute and similar tools. # +# TCBHASHSIZE is the target size of the TCP PCB (process control block) hash +# tables. This must be a power of 2. The default is 512 (2^9). See tcp(4) +# for more information. +# # TCPDEBUG is undocumented. # options MROUTING # Multicast routing @@ -573,6 +577,7 @@ options IPFILTER_LOG #ipfilter logging options IPFILTER_DEFAULT_BLOCK #block all packets by default options IPSTEALTH #support for stealth forwarding +options TCBHASHSIZE=512 #tcp pcb hash table size options TCPDEBUG # RANDOM_IP_ID causes the ID field in IP packets to be randomized >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message