]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net sched: cleanup and rate limit warning
authorstephen hemminger <shemminger@vyatta.com>
Tue, 11 May 2010 14:24:12 +0000 (14:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 06:23:13 +0000 (23:23 -0700)
commitb60b6592baa69c43a5a0f55d6300a7feaab15338
tree30e7ba9b38a30d78542b242eda794499a590d26c
parent207024b9477e253859abfc30f1ff314cd6008b24
net sched: cleanup and rate limit warning

If the user has a bad classification configuration, and gets a packet
that goes through too many steps. Chances are more packets will arrive,
and the message spew will overrun syslog because it is not rate limited.
And because it is not tagged with appropriate priority it can't not be screened.

Added the qdisc to the message to try and give some more context when
the message does arrive.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c