diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-10-30 16:41:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-30 19:34:41 +0100 |
commit | a6b3a3fa042343e29ffaf9169f5ba3c819d4f9a2 (patch) | |
tree | 70678737b1a35921b4ef7d4f07d54105302976cb /drivers/net/ethernet/intel/igb | |
parent | net/mlx4_en: add a missing <net/ip.h> include (diff) | |
download | linux-a6b3a3fa042343e29ffaf9169f5ba3c819d4f9a2.tar.xz linux-a6b3a3fa042343e29ffaf9169f5ba3c819d4f9a2.zip |
net: mvpp2: Fix affinity hint allocation
The mvpp2 driver has the curious behaviour of passing a stack variable
to irq_set_affinity_hint(), which results in the kernel exploding
the first time anyone accesses this information. News flash: userspace
does, and irqbalance will happily take the machine down. Great stuff.
An easy fix is to track the mask within the queue_vector structure,
and to make sure it has the same lifetime as the interrupt itself.
Fixes: e531f76757eb ("net: mvpp2: handle cases where more CPUs are available than s/w threads")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igb')
0 files changed, 0 insertions, 0 deletions