diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-09-19 19:02:31 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-09-23 11:31:51 -0300 |
commit | 6bbfb2653177a00f70e57e53625502d43804fed0 (patch) | |
tree | b0196884ead501481a3ae3a27d45b41b43ec117d /REPORTING-BUGS | |
parent | c79bd89282136a4516e842fa542d6abf902ddeac (diff) | |
download | op-kernel-dev-6bbfb2653177a00f70e57e53625502d43804fed0.zip op-kernel-dev-6bbfb2653177a00f70e57e53625502d43804fed0.tar.gz |
KVM: fix irqfd assign/deassign race
I think I see the following (theoretical) race:
During irqfd assign, we drop irqfds lock before we
schedule inject work. Therefore, deassign running
on another CPU could cause shutdown and flush to run
before inject, causing user after free in inject.
A simple fix it to schedule inject under the lock.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions