summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock
diff options
context:
space:
mode:
authorAndre Guedes2019-04-23 21:44:23 +0200
committerDavid S. Miller2019-04-24 04:52:32 +0200
commit2684d1b75f215bdf521064bcbc0015dfca9156e7 (patch)
tree87600979f6ddba8e2ac49fb397510f2aa410bce8 /net/vmw_vsock
parentnet: sched: taprio: Remove should_restart_cycle() (diff)
downloadkernel-qcow2-linux-2684d1b75f215bdf521064bcbc0015dfca9156e7.tar.gz
kernel-qcow2-linux-2684d1b75f215bdf521064bcbc0015dfca9156e7.tar.xz
kernel-qcow2-linux-2684d1b75f215bdf521064bcbc0015dfca9156e7.zip
net: sched: taprio: Fix taprio_peek()
While traversing taprio's children qdisc list, if the gate is closed for a given traffic class, we should continue traversing the list since the remaining qdiscs may have skb ready for transmission. This patch also takes this opportunity and changes the function to use the TAPRIO_ALL_GATES_OPEN macro instead of the magic number '-1'. 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>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions