net: sched: taprio: Fix taprio_dequeue()
authorAndre Guedes <andre.guedes@intel.com>
Tue, 23 Apr 2019 19:44:24 +0000 (12:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2019 02:52:32 +0000 (19:52 -0700)
commit6e734c82be63ef6a0032c29f6d406d60e4386050
tree4ac73d61738f66cbb6d4577ae2f2d5635f3a0e3f
parent2684d1b75f215bdf521064bcbc0015dfca9156e7
net: sched: taprio: Fix taprio_dequeue()

In case we don't have 'guard' or 'budget' to transmit the skb, we should
continue traversing the qdisc list since the remaining guard/budget
might be enough to transmit a skb from other children qdiscs.

Fixes: 5a781ccbd19e (“tc: Add support for configuring the taprio scheduler”)
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_taprio.c