[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <456EE541.6010904@trash.net>
Date: Thu, 30 Nov 2006 15:05:53 +0100
From: Patrick McHardy <kaber@...sh.net>
To: "Nordlund Kim (Nokia-NET/Helsinki)" <Kim.Nordlund@...ia.com>
CC: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PKT_SCHED] act_gact: division by zero
Nordlund Kim (Nokia-NET/Helsinki) wrote:
> On Thu, 30 Nov 2006, ext Patrick McHardy wrote:
>
>>I think it should reject an invalid configuration or handle
>>the zero case correctly by not dividing.
>
>
> You are correct. Not returning -EINVAL, because someone might
> want to use the value zero in some future gact_prob algorithm?
That looks good, thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists