-
由 Michael S. Tsirkin 提交于
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: NMichael S. Tsirkin <mst@redhat.com> Acked-by: NGregory Haskins <ghaskins@novell.com> Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
6bbfb265