]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PKT_SCHED] act_gact: division by zero
authorKim Nordlund <kim.nordlund@nokia.com>
Mon, 4 Dec 2006 11:44:22 +0000 (12:44 +0100)
committerAdrian Bunk <bunk@stusta.de>
Mon, 4 Dec 2006 11:44:22 +0000 (12:44 +0100)
commite6e129777f0fb6619e6a845cfd7a87b7fcd736a0
tree2c26caf22bbf135daf7112bb4c2e680e040a0527
parenta7c850eb8180674fdd2957fb5f2e6dd5070fcc29
[PKT_SCHED] act_gact: division by zero

Not returning -EINVAL, because someone might want to use the value
zero in some future gact_prob algorithm?

Signed-off-by: Kim Nordlund <kim.nordlund@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/sched/act_gact.c