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: sta...@dpdk.org

Signed-off-by: Jiayu Hu <jiayu...@intel.com>
Reviewed-by: Chenbo Xia <chenbo....@intel.com>
---
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

Reply via email to