From: "Nordlund Kim (Nokia-NET/Helsinki)" <[EMAIL PROTECTED]>
Date: Thu, 30 Nov 2006 15:51:04 +0200 (EET)
>
> 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 retu
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 i
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?
Signed-off-by: Kim
Nordlund Kim (Nokia-NET/Helsinki) wrote:
> tc qdisc add dev eth1 handle : ingress
> tc filter add dev eth1 protocol ip parent : pref 99 basic \
>flowid 1:1 action pass random determ drop 0
> ^
> the above cause a division by zero in the kerne
tc qdisc add dev eth1 handle : ingress
tc filter add dev eth1 protocol ip parent : pref 99 basic \
flowid 1:1 action pass random determ drop 0
^
the above cause a division by zero in the kernel on the first
packet in.
Signed-off-by: Kim Nord