diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-10 04:55:14 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-10 23:47:40 -0700 |
commit | d90df3ad07a20cd93921e05ff2b12ca7030b4fd7 (patch) | |
tree | 5af931c25932cfad852acb8ddc2ad16a7fa45525 /net/sched/sch_sfq.c | |
parent | 5830725f8a36908111ecccf2899d06d6dcf54d45 (diff) |
[NET_SCHED]: Rationalise return value of qdisc_restart
The current return value scheme and associated comment was invented
back in the 20th century when we still had that tbusy flag. Things
have changed quite a bit since then (even Tony Blair is moving on
now, not to mention the new French president).
All we need to indicate now is whether the caller should continue
processing the queue. Therefore it's sufficient if we return 0 if
we want to stop and non-zero otherwise.
This is based on a patch by Krishna Kumar.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_sfq.c')
0 files changed, 0 insertions, 0 deletions