> -----Original Message----- > From: Maxime Coquelin <[email protected]> > Sent: Friday, July 1, 2022 10:00 PM > To: Hu, Jiayu <[email protected]>; [email protected] > Cc: Xia, Chenbo <[email protected]>; [email protected] > Subject: Re: [PATCH v2] vhost: fix unchecked return value > > > > 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. Will do. Regards, Jiayu > > Thanks, > Maxime

