diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-11-05 21:14:13 +0100 |
---|---|---|
committer | Thomas Graf <tgr@axs.localdomain> | 2005-11-05 22:02:26 +0100 |
commit | 6639607ed9deaed9ab3a1cc588f0288891ece2ac (patch) | |
tree | 370e98cbb4143cf397d5b3cf2a3a8ddf66a13cf1 /Kbuild | |
parent | e06368221c204d7b5f1ba37d047170f9a0dd359d (diff) |
[PKT_SCHED]: GRED: Use a central table definition change procedure
Introduces a function gred_change_table_def() acting as a central
point to change the table definition.
Adds missing validations for table definition: MAX_DPs > DPs > 0
and def_DP < DPs thus fixing possible invalid memory reference
oopses. Only root could do it but having a typo crashing the
machine is a bit hard.
Adds missing locking while changing the table definition, the
operation of changing the number of DPs and removing shadowed VQs
may not be interrupted by a dequeue.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions