On 1/19/23 19:46, David Marchand wrote:
vq->async is initialised and must be accessed under vq->access_lock.

Signed-off-by: David Marchand <david.march...@redhat.com>
---
Changes since RFC v3:
- rebased,
- fixed annotations vq->access_lock -> &vq->access_lock,
- reworked free_vq,

---
  lib/vhost/vhost.c      |  4 ++++
  lib/vhost/vhost.h      |  2 +-
  lib/vhost/vhost_user.c | 10 +++++++---
  lib/vhost/virtio_net.c | 35 +++++++++++++++++++++++++++++++++++
  4 files changed, 47 insertions(+), 4 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>

Thanks,
Maxime

Reply via email to