qemu/hw/rdma/vmw
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
..
pvrdma_cmd.c pvrdma: release ring object in case of an error 2018-12-22 11:09:57 +02:00
pvrdma_dev_ring.c pvrdma: check return value from pvrdma_idx_ring_has_ routines 2018-12-22 11:09:57 +02:00
pvrdma_dev_ring.h Clean up includes 2018-12-20 10:29:08 +01:00
pvrdma_main.c pvrdma: add uar_read routine 2018-12-22 11:09:57 +02:00
pvrdma_qp_ops.c hw/pvrdma: Fill all CQE fields 2018-12-22 11:09:56 +02:00
pvrdma_qp_ops.h
pvrdma.h hw/pvrdma: Clean device's resource when system is shutdown 2018-12-22 11:09:57 +02:00
trace-events hw/rdma: Implementation of PVRDMA device 2018-02-19 13:03:24 +02:00