summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2016-02-12 17:00:15 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-02-16 20:48:36 +0300
commit4efd805fca5590af181f89ad122b8695c63b5f2c (patch)
treefb46888644286c0394f2dd04b1765698df7b032a /net
parent78db6a5037965429c04d708281f35a6e5562d31b (diff)
downloadlinux-4efd805fca5590af181f89ad122b8695c63b5f2c.tar.xz
KVM: x86: fix *NULL on invalid low-prio irq
Smatch noticed a NULL dereference in kvm_intr_is_single_vcpu_fast that happens if VM already warned about invalid lowest-priority interrupt. Create a function for common code while fixing it. Fixes: 6228a0da8057 ("KVM: x86: Add lowest-priority support for vt-d posted-interrupts") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions