Skip to content
Commit 36247f54 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller
Browse files

[NET_SCHED]: Fix qdisc_restart return value when dequeue is empty



My previous patch that changed the return value of qdisc_restart
incorrectly made the case where dequeue returns empty continue
processing packets.

This patch is based on diagnosis and fix by Patrick McHardy.

Reported-and-debugged-by: default avatarAnant Nitya <kernel@prachanda.info>

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d333fc8d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment