On 6/29/22 11:07, Jiayu Hu wrote:
This patch checks the return value of rte_dma_info_get()
called in rte_vhost_async_dma_configure().
Coverity issue: 379066
Fixes: 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path")
Cc: [email protected]
Signed-off-by: Jiayu Hu <[email protected]>
Reviewed-by: Chenbo Xia <[email protected]>
---
v2:
- add cc stable tag
---
lib/vhost/vhost.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Applied to dpdk-next-virtio/main.
Please propose something to protect DMA channels registration & also
consider introducing a function to unregister.
Thanks,
Maxime