aboutsummaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-12-01 13:57:46 +0000
committerAvi Kivity <avi@redhat.com>2008-12-31 16:55:06 +0200
commitfdd897e6b5253a45b633f7d334cf3e150bbaf386 (patch)
tree2a6d5c59d782c49f20d01578525eb9ec201bb35a /REPORTING-BUGS
parentKVM: remove the IRQ ACK notifier assertions (diff)
downloadlinux-dev-fdd897e6b5253a45b633f7d334cf3e150bbaf386.tar.xz
linux-dev-fdd897e6b5253a45b633f7d334cf3e150bbaf386.zip
KVM: make kvm_unregister_irq_ack_notifier() safe
We never pass a NULL notifier pointer here, but we may well pass a notifier struct which hasn't previously been registered. Guard against this by using hlist_del_init() which will not do anything if the node hasn't been added to the list and, when removing the node, will ensure that a subsequent call to hlist_del_init() will be fine too. Fixes an oops seen when an assigned device is freed before and IRQ is assigned to it. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions