mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-01 19:34:35 +08:00
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_cls.c | ||
mvpp2_cls.h | ||
mvpp2_debugfs.c | ||
mvpp2_main.c | ||
mvpp2_prs.c | ||
mvpp2_prs.h | ||
mvpp2.h |