Skip to content
  • Herbert Xu's avatar
    [NET_SCHED]: Rationalise return value of qdisc_restart · d90df3ad
    Herbert Xu authored
    
    
    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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d90df3ad