tc: check for errors in gen_rate_estimator creation
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 26 Nov 2008 05:13:31 +0000 (21:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 05:13:31 +0000 (21:13 -0800)
commit71bcb09a57894fa35591ce93dd972065eeecb63a
tree50ca8a43125f0aa89f1444928a209420754a79f3
parent0e991ec6a0340916d3f29bd5dcb35299069e7226
tc: check for errors in gen_rate_estimator creation

The functions gen_new_estimator and gen_replace_estimator can return
errors, but they were being ignored.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_police.c
net/sched/sch_api.c
net/sched/sch_cbq.c
net/sched/sch_drr.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c