]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PKT_SCHED]: Report rate estimator configuration errors during qdisc allocation
authorThomas Graf <tgraf@suug.ch>
Tue, 5 Jul 2005 21:15:53 +0000 (14:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 21:15:53 +0000 (14:15 -0700)
commit023e09a767a89bf1b8646307410852d93fd72f00
tree6f14e606ae491eaf143be225513433803ed6dfc0
parent3d54b82fdf0ca79608f61448fb8ab92676487645
[PKT_SCHED]: Report rate estimator configuration errors during qdisc allocation

Current behaviour is to not report an error if a rate
estimator is created together with a qdisc and the
configuration of the rate estimator is bogus. This leads
to unexpected behaviour because the user is not notified.

New behaviour is to report the error and let the whole
qdisc creation operation fail so the user is able to fix
his mistake.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c