[PKT_SCHED]: Fix dsmark to apply changes consistent
authorThomas Graf <tgraf@suug.ch>
Sun, 19 Jun 2005 05:52:54 +0000 (22:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2005 05:52:54 +0000 (22:52 -0700)
commit758cc43c6d7326c62751fb516485e8e188854637
tree5f5f2a9a9c9737f0461519dbaf8aae579ee6c87b
parent8f48bcd4ef11a69add178fc3111a77e7ee95bacd
[PKT_SCHED]: Fix dsmark to apply changes consistent

Fixes dsmark to do all configuration sanity checks first and
only apply the changes if all of them can be applied without
any errors. Also fixes the weak sanity checks for DSMARK_VALUE
and DSMASK_MASK.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_dsmark.c