]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: Fix a bug in removing queues from XPS map
authorAmritha Nambiar <amritha.nambiar@intel.com>
Thu, 17 May 2018 21:50:44 +0000 (14:50 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:27:50 +0000 (12:27 +0200)
commitc458e375c36e27a09b018a0ffa7653d898d156cc
tree0a77d65c4330d725bfc50342bc7a84c815ff1027
parentf4b09557ddcfc9b244a4c21cf073d7a0e1fb52e4
net: Fix a bug in removing queues from XPS map

BugLink: http://bugs.launchpad.net/bugs/1783418
[ Upstream commit 6358d49ac23995fdfe157cc8747ab0f274d3954b ]

While removing queues from the XPS map, the individual CPU ID
alone was used to index the CPUs map, this should be changed to also
factor in the traffic class mapping for the CPU-to-queue lookup.

Fixes: 184c449f91fe ("net: Add support for XPS with QoS via traffic classes")
Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/core/dev.c