[PKT_SCHED]: GRED: Improve error handling and messages
authorThomas Graf <tgraf@suug.ch>
Sat, 5 Nov 2005 20:14:21 +0000 (21:14 +0100)
committerThomas Graf <tgr@axs.localdomain>
Sat, 5 Nov 2005 21:02:28 +0000 (22:02 +0100)
commit18e3fb84e698dcab1c5fa7b7c89921b826bb5620
tree68b7d3907cc72a83cf7ad6e1f7f27f9c6ffd06be
parent716a1b40b0ed630570edd4e2bf9053c421e9770b
[PKT_SCHED]: GRED: Improve error handling and messages

Try to enqueue packets if we cannot associate it with a VQ, this
basically means that the default VQ has not been set up yet.

We must check if the VQ still exists while requeueing, the VQ
might have been changed between dequeue and the requeue of the
underlying qdisc.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/sched/sch_gred.c