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
..
2018-12-12 14:18:10 +01:00
2018-12-20 11:19:12 -05:00
2018-10-24 06:44:59 -03:00
2018-12-19 16:48:16 -05:00
2018-11-27 07:47:57 +01:00
2018-12-16 16:32:43 +00:00
2018-12-18 07:55:47 +01:00
2018-12-20 13:25:11 -05:00
2018-12-19 16:48:16 -05:00
2018-12-13 13:47:58 +00:00
2018-12-13 13:47:58 +00:00
2018-10-24 06:44:59 -03:00
2018-11-26 14:14:38 -02:00
2018-12-12 10:01:13 +01:00
2018-12-20 13:25:11 -05:00
2018-12-18 07:55:47 +01:00
2018-12-21 09:40:35 +11:00
2018-11-06 11:32:14 +00:00
2018-12-11 15:45:22 -02:00
2018-10-24 06:44:59 -03:00
2018-12-16 16:32:43 +00:00
2018-12-22 11:09:56 +02:00
2018-12-13 13:48:00 +00:00
2018-12-20 11:25:36 -05:00
2018-12-20 11:19:12 -05:00
2018-11-08 14:42:37 +00:00
2018-12-21 15:49:59 +00:00
2018-12-22 11:09:57 +02:00
2018-11-13 15:12:13 -08:00
2018-12-21 14:06:01 +00:00
2018-11-27 15:35:15 +01:00
2018-12-14 13:30:54 +00:00
2018-10-24 06:44:59 -03:00
2018-12-19 16:48:16 -05:00
2018-12-14 13:30:48 +00:00
2018-10-24 06:44:59 -03:00
2018-10-24 06:44:59 -03:00
2018-12-18 07:55:47 +01:00
2018-12-04 10:21:25 -05:00
2018-12-16 12:05:08 +00:00
2018-12-21 14:06:01 +00:00
2018-12-19 16:48:16 -05:00
2018-12-13 13:48:02 +00:00
2018-11-21 10:53:21 -08:00
2018-10-24 06:44:59 -03:00