]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 16:06:22 +0000 (12:06 -0400)
commit5658510050b93bb4bd03c377e0069a3f9e0f95a9
treeaae74219e91e2887c81052c17ae60006f10d70e3
parentd6deb4c0de220acd2890252d8e9e5ae5e6008cfd
net: Fix a bug in removing queues from XPS map

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: 8cc1b03f8fb2 ("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>
net/core/dev.c