Subject: Re: negative ppsratecheck(9)
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 08/02/2000 10:31:22
On Thu, Aug 03, 2000 at 02:28:45AM +0900, itojun@iijlab.net wrote:

 > >Err, that seems wrong.  "no packet is allowed in 1 second period"
 > >is essentially "no packets allowed".  So, it seems as if 0 is a
 > >better way to say "pps rate limiting disabled".
 > 
 > 	sorry if my commit message confused you.
 > 	negative number means, "rate limitation disabled" = "no limit enforced"
 > 	= "as many packets as possible". 

Right, I understand that.  But "0 == no packets per second" is the same
as saying "no packets at all".  So, considering that "no packets at all"
is probably not semantics that anyone wants, 0 could be changed to mean
"no limit enforced".

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>