]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tc: policing requires a rate estimator
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 26 Nov 2008 05:14:06 +0000 (21:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 05:14:06 +0000 (21:14 -0800)
commitc1b56878fb68e9c14070939ea4537ad4db79ffae
tree589f890f81e075380493905509244a0970d942f8
parent71bcb09a57894fa35591ce93dd972065eeecb63a
tc: policing requires a rate estimator

Found that while trying average rate policing, it was possible to
request average rate policing without a rate estimator. This results
in no policing which is harmless but incorrect.

Since policing could be setup in two steps, need to check
in the kernel.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/gen_stats.h
net/core/gen_estimator.c
net/sched/act_police.c