Marc Zyngier a6b3a3fa04 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>
2018-10-30 11:34:41 -07:00
..
2018-10-25 06:50:48 -07:00
2018-10-26 14:36:21 -07:00
2018-10-29 15:16:01 -07:00
2018-10-27 09:24:24 -07:00
2018-10-29 15:16:01 -07:00
2018-10-25 06:50:48 -07:00
2018-10-29 15:16:01 -07:00
2018-10-29 15:16:01 -07:00
2018-10-16 11:13:50 +02:00
2018-10-25 06:50:48 -07:00
2018-10-29 14:29:58 -07:00
2018-10-29 14:29:58 -07:00
2018-10-29 10:38:10 -07:00
2018-10-29 14:29:58 -07:00
2018-10-25 06:19:15 -07:00
2018-10-23 01:09:22 +01:00
2018-10-25 06:31:56 -07:00
2018-10-25 06:50:48 -07:00
2018-10-29 10:42:20 -07:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-10-26 08:14:13 -07:00
2018-10-26 12:09:58 -07:00
2018-10-29 15:16:01 -07:00
2018-10-25 17:57:35 -07:00
2018-10-26 12:43:13 -07:00
2018-10-29 15:16:01 -07:00
2018-10-25 06:19:15 -07:00
2018-10-29 14:29:58 -07:00
2018-10-25 07:40:30 -07:00
2018-10-11 09:16:44 -07:00
2018-10-29 10:42:20 -07:00
2018-10-26 08:14:13 -07:00
2018-10-29 14:29:58 -07:00