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: e531f76757
("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-09-12 20:24:20 -07:00
2018-09-12 20:24:20 -07:00
2018-09-12 20:24:20 -07:00
2018-09-18 19:57:40 -07:00
2018-09-12 20:24:20 -07:00
2018-09-12 20:24:20 -07:00
2018-10-22 19:48:04 -07:00
2018-10-25 16:20:02 -07:00
2018-09-12 20:24:21 -07:00
2018-09-21 19:15:15 -07:00
2018-10-16 10:00:07 -07:00
2018-10-25 06:50:48 -07:00
2018-09-12 20:24:21 -07:00
2018-10-26 19:25:07 -07:00
2018-09-21 19:02:05 -07:00
2018-10-25 11:32:24 -07:00
2018-10-04 09:48:37 -07:00
2018-10-25 16:43:35 -07:00
2018-09-21 19:15:14 -07:00
2018-09-12 20:24:21 -07:00
2018-10-21 21:10:12 -07:00
2018-10-25 06:50:48 -07:00
2018-09-26 10:18:08 -07:00
2018-10-19 11:03:06 -07:00
2018-10-24 14:25:31 -07:00
2018-09-17 07:55:19 -07:00
2018-10-29 20:43:40 -07:00
2018-09-21 19:15:15 -07:00
2018-10-03 21:00:17 -07:00
2018-10-26 19:25:07 -07:00
2018-10-30 11:34:41 -07:00
2018-10-01 22:55:36 -07:00
2018-10-30 11:18:59 -07:00
2018-09-21 19:11:39 -07:00
2018-10-25 16:20:48 -07:00
2018-10-19 11:03:06 -07:00
2018-10-25 16:20:02 -07:00
2018-09-21 19:00:09 -07:00
2018-10-21 21:11:46 -07:00
2018-10-01 22:48:08 -07:00
2018-10-19 17:04:38 -07:00
2018-10-25 06:50:48 -07:00
2018-10-03 21:00:17 -07:00
2018-09-12 20:24:20 -07:00
2018-10-25 16:15:23 -07:00
2018-09-25 10:35:29 -07:00
2018-10-19 10:42:19 -07:00
2018-09-12 20:24:20 -07:00
2018-09-21 19:15:14 -07:00
2018-10-25 06:50:48 -07:00
2018-09-21 19:15:14 -07:00
2018-10-21 21:10:12 -07:00
2018-10-23 10:55:35 -07:00
2018-10-26 12:09:58 -07:00
2018-09-19 21:17:58 -07:00
2018-10-22 20:20:14 -07:00
2018-09-19 23:08:36 -07:00
2018-10-21 21:10:12 -07:00
2018-09-19 21:17:58 -07:00
2018-09-12 20:24:21 -07:00
2018-09-12 20:24:20 -07:00
2018-09-13 08:14:33 -07:00
2018-09-13 08:14:33 -07:00
2018-09-17 08:12:11 -07:00
2018-09-13 08:14:33 -07:00