mirror of
https://github.com/qemu/qemu.git
synced 2025-10-24 10:31:10 +00:00
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> |
||
|---|---|---|
| .. | ||
| vmw | ||
| Makefile.objs | ||
| rdma_backend_defs.h | ||
| rdma_backend.c | ||
| rdma_backend.h | ||
| rdma_rm_defs.h | ||
| rdma_rm.c | ||
| rdma_rm.h | ||
| rdma_utils.c | ||
| rdma_utils.h | ||
| trace-events | ||