> -----Original Message----- > From: David Marchand <[email protected]> > Sent: Wednesday, March 30, 2022 7:20 PM > To: [email protected] > Cc: [email protected]; Xia, Chenbo <[email protected]>; Hu, > Jiayu <[email protected]>; Wang, YuanX <[email protected]>; Ding, Xuan > <[email protected]>; [email protected]; Patrick Fu <[email protected]> > Subject: [RFC PATCH v2 4/9] vhost: fix async access > > vq->async accesses must be protected with vq->access_lock. > > Fixes: eb666d24085f ("vhost: fix async unregister deadlock") > Fixes: 0c0935c5f794 ("vhost: allow to check in-flight packets for async > vhost") > Cc: [email protected] > > Signed-off-by: David Marchand <[email protected]> > --- > lib/vhost/vhost.c | 25 ++++++++++--------------- > 1 file changed, 10 insertions(+), 15 deletions(-)
Thanks for the fix, David. Tested the changes for rte_vhost_async_get_inflight, works as expected. Although I couldn't test, the changes for rte_vhost_async_channel_unregister looks good to me . Based on that, Acked-by: Sunil Pai G <[email protected]>

