From owner-freebsd-bugs Sun Dec 16 14: 0: 7 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 8E27937B405 for ; Sun, 16 Dec 2001 14:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBGM02N32135; Sun, 16 Dec 2001 14:00:02 -0800 (PST) (envelope-from gnats) Date: Sun, 16 Dec 2001 14:00:02 -0800 (PST) Message-Id: <200112162200.fBGM02N32135@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: carl@slackerbsd.org Subject: Re: kern/32912: options misssing TCBHASHSIZE Reply-To: carl@slackerbsd.org 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 The following reply was made to PR kern/32912; it has been noted by GNATS. From: carl@slackerbsd.org To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: kern/32912: options misssing TCBHASHSIZE Date: Sun, 16 Dec 2001 16:50:44 -0500 On Sun, Dec 16, 2001 at 09:36:34PM -0000, Carl Schmidt wrote: > >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: Sorry about the formatting mistake and the spelling error in the synopsis. --- 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 -- Carl Schmidt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message