summaryrefslogtreecommitdiffstats
path: root/net/sched/Kconfig
diff options
context:
space:
mode:
authorJesus Sanchez-Palencia2017-10-17 03:01:25 +0200
committerJeff Kirsher2017-10-27 18:41:50 +0200
commit0f7787b4133fb26b6dc0779e4867408e07711d8e (patch)
tree26b789f79df24ec6539f414722f22ede3280f494 /net/sched/Kconfig
parentnet/sched: Change behavior of mq select_queue() (diff)
downloadkernel-qcow2-linux-0f7787b4133fb26b6dc0779e4867408e07711d8e.tar.gz
kernel-qcow2-linux-0f7787b4133fb26b6dc0779e4867408e07711d8e.tar.xz
kernel-qcow2-linux-0f7787b4133fb26b6dc0779e4867408e07711d8e.zip
net/sched: Add select_queue() class_ops for mqprio
When replacing a child qdisc from mqprio, tc_modify_qdisc() must fetch the netdev_queue pointer that the current child qdisc is associated with before creating the new qdisc. Currently, when using mqprio as root qdisc, the kernel will end up getting the queue #0 pointer from the mqprio (root qdisc), which leaves any new child qdisc with a possibly wrong netdev_queue pointer. Implementing the Qdisc_class_ops select_queue() on mqprio fixes this issue and avoid an inconsistent state when child qdiscs are replaced. Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com> Tested-by: Henrik Austad <henrik@austad.us> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/sched/Kconfig')
0 files changed, 0 insertions, 0 deletions