Date: Wed, 10 Oct 2007 16:56:23 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-current@freebsd.org, w0lfie@clear.net.nz Subject: Re: uipc_sockbuf sysctl Message-ID: <200710101656.23528.jhb@freebsd.org> In-Reply-To: <46feeec8.106.9f9.24060@clear.net.nz> References: <46feeec8.106.9f9.24060@clear.net.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 29 September 2007 08:33:12 pm Sam Banks wrote: > Hey all, > > I have started looking into cleaning up sysctl's with empty > descriptions and have come across kern.dummy. > > Looking into sys/kern/uipc_sockbuf.c, kern.dummy does > absolutely nothing other than offer the ability to change > it. The variable that the sysctl call populates (dummy) is > not used directly in sys/kern/uipc_sockbuf.c or, as far as I > can see, anywhere in the sys/ code. > > Is there a reason I'm missing why this seemingly uneeded > sysctl call is in the code or can it be removed with the > attached patch? > > Cheers, It reserves a specific OID value since the old kern.maxsockbuf wasn't OID_AUTO. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710101656.23528.jhb>