qemu-e2k/hw
Prasad J Pandit f1e2e38ee0 pvrdma: check return value from pvrdma_idx_ring_has_ routines
pvrdma_idx_ring_has_[data/space] routines also return invalid
index PVRDMA_INVALID_IDX[=-1], if ring has no data/space. Check
return value from these routines to avoid plausible infinite loops.

Reported-by: Li Qiang <liq3ea@163.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
2018-12-22 11:09:57 +02:00
..
9pfs
acpi pci/pcihp: perform unplug via the hotplug handler 2018-12-20 11:19:12 -05:00
adc
alpha
arm hw: acpi: Export and share the ARM RSDP build 2018-12-19 16:48:16 -05:00
audio
block
bt
char
core q35: set split kernel irqchip as default 2018-12-20 13:25:11 -05:00
cpu
cris
display virtio: Helper for registering virtio device types 2018-12-19 16:48:16 -05:00
dma
gpio
hppa
hyperv
i2c
i386 x86-iommu: turn on IR by default if proper 2018-12-20 13:25:11 -05:00
ide
input
intc spapr: add a 'reset' method to the sPAPR IRQ backend 2018-12-21 09:40:35 +11:00
ipack
ipmi
isa
lm32
m68k
mem
microblaze
mips
misc
moxie
net vmxnet3: Move some definitions to header file 2018-12-22 11:09:56 +02:00
nios2
nvram
openrisc
pci pci: Adjust PCI config limit based on bus topology 2018-12-20 11:25:36 -05:00
pci-bridge pci/shpc: perform unplug via the hotplug handler 2018-12-20 11:19:12 -05:00
pci-host
pcmcia
ppc ppc patch queue 2018-12-21 2018-12-21 15:49:59 +00:00
rdma pvrdma: check return value from pvrdma_idx_ring_has_ routines 2018-12-22 11:09:57 +02:00
riscv
s390x pci, pc, virtio: fixes, features 2018-12-21 14:06:01 +00:00
scsi
sd
sh4
smbios hw/smbios: Move to the hw/firmware/ subdirectory 2018-12-19 16:48:16 -05:00
sparc
sparc64
ssi
timer
tpm
tricore
unicore32
usb
vfio pci, pc, virtio: fixes, features 2018-12-21 14:06:01 +00:00
virtio virtio: Provide version-specific variants of virtio PCI devices 2018-12-19 16:48:16 -05:00
watchdog
xen
xenpv
xtensa
Makefile.objs