mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 02:36:02 +00:00
1442ee0011
Kunkun Jiang reported that there is a small window of opportunity for
userspace to force a change of affinity for a VPE while the VPE has already
been unmapped, but the corresponding doorbell interrupt still visible in
/proc/irq/.
Plug the race by checking the value of vmapp_count, which tracks whether
the VPE is mapped ot not, and returning an error in this case.
This involves making vmapp_count common to both GICv4.1 and its v4.0
ancestor.
Fixes:
|
||
---|---|---|
.. | ||
arm-gic-common.h | ||
arm-gic-v3-prio.h | ||
arm-gic-v3.h | ||
arm-gic-v4.h | ||
arm-gic.h | ||
arm-vgic-info.h | ||
arm-vic.h | ||
chained_irq.h | ||
irq-bcm2836.h | ||
irq-davinci-aintc.h | ||
irq-davinci-cp-intc.h | ||
irq-madera.h | ||
irq-omap-intc.h | ||
irq-partition-percpu.h | ||
irq-sa11x0.h | ||
riscv-aplic.h | ||
riscv-imsic.h | ||
xtensa-mx.h | ||
xtensa-pic.h |