[PKT_SCHED]: GRED: Use central VQ change procedure
authorThomas Graf <tgraf@suug.ch>
Sat, 5 Nov 2005 20:14:15 +0000 (21:14 +0100)
committerThomas Graf <tgr@axs.localdomain>
Sat, 5 Nov 2005 21:02:27 +0000 (22:02 +0100)
commitf62d6b936df500247474c13360eb23e1b602bad0
tree2517635e3005c5bcdc50d6a0f719d7a5df1815ea
parenta8aaa9958eea2420e13d5a00c3fae934e0a3889e
[PKT_SCHED]: GRED: Use central VQ change procedure

Introduces a function gred_change_vq() acting as a central point
to change VQ parameters. Fixes priority inheritance in rio mode
when the default DP equals 0. Adds proper locking during changes.

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