mirror of https://gitee.com/openkylin/linux.git
a6b3a3fa04
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:
|
||
---|---|---|
.. | ||
Makefile | ||
mvpp2.h | ||
mvpp2_cls.c | ||
mvpp2_cls.h | ||
mvpp2_debugfs.c | ||
mvpp2_main.c | ||
mvpp2_prs.c | ||
mvpp2_prs.h |