Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 1997 10:10:05 -0700 (PDT)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs
Subject:   Re: kern/3925: SO_SNDLOWAT of 0 causes kernel to use 99% of CPU time on TCP send
Message-ID:  <199706221710.KAA13490@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/3925; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
To: freebsd-gnats-submit@freebsd.org, peter@spinner.dialix.com.au
Cc:  Subject: Re: kern/3925: SO_SNDLOWAT of 0 causes kernel to use 99% of CPU time on TCP send
Date: Sun, 22 Jun 1997 10:05:35 PDT

 soreserve() is usually only called when creating a new socket.
 
 Sanity-checking 0 is clearly acceptable when doing the setsockopt().
 Since soreserve() silently "fixes" it, perhaps setsockopt() should
 too.  I don't know what to think about sanity-checking in other
 situations.
 
   Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706221710.KAA13490>