]> git.baikalelectronics.ru Git - kernel.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)
commit60fb41d588009d0e0a062fb4544eea19d81e9544
tree6f14e606ae491eaf143be225513433803ed6dfc0
parent88f804b309bc7f9a35c752cfb7c06681cd7078f4
[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