qemu-e2k/hw/rdma
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
..
vmw pvrdma: check return value from pvrdma_idx_ring_has_ routines 2018-12-22 11:09:57 +02:00
Makefile.objs
rdma_backend_defs.h
rdma_backend.c rdma: remove unused VENDOR_ERR_NO_SGE macro 2018-12-22 11:09:57 +02:00
rdma_backend.h
rdma_rm_defs.h hw/rdma: Remove unneeded code that handles more that one port 2018-12-22 11:09:56 +02:00
rdma_rm.c hw/rdma: Do not call rdma_backend_del_gid on an empty gid 2018-12-22 11:09:57 +02:00
rdma_rm.h hw/rdma: Remove unneeded code that handles more that one port 2018-12-22 11:09:56 +02:00
rdma_utils.c
rdma_utils.h
trace-events