summaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorJan H. Schönherr <jschoenh@amazon.de>2017-09-07 19:02:48 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-15 16:55:28 +0200
commit36ae3c0a36b7456432fedce38ae2f7bd3e01a563 (patch)
treef105afd5971726ea0c85b46fd24f62c7235633cb /mm/readahead.c
parent51aa68e7d57e3217192d88ce90fd5b8ef29ec94f (diff)
downloadlinux-stable-36ae3c0a36b7456432fedce38ae2f7bd3e01a563.tar.gz
linux-stable-36ae3c0a36b7456432fedce38ae2f7bd3e01a563.tar.bz2
linux-stable-36ae3c0a36b7456432fedce38ae2f7bd3e01a563.zip
KVM: Don't accept obviously wrong gsi values via KVM_IRQFD
We cannot add routes for gsi values >= KVM_MAX_IRQ_ROUTES -- see kvm_set_irq_routing(). Hence, there is no sense in accepting them via KVM_IRQFD. Prevent them from entering the system in the first place. Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions