]> git.droids-corp.org - dpdk.git/commit
vhost: fix missing virtqueue lock protection
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 24 Mar 2022 12:46:34 +0000 (13:46 +0100)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 9 May 2022 19:39:58 +0000 (21:39 +0200)
commitc5736998305def298e26f8fa73b9995f184fc983
tree1e44c4770574a9fae02bfbd3eb99268913e5042d
parent09c28563015d5564be8599f8370246c865c2d514
vhost: fix missing virtqueue lock protection

This patch ensures virtqueue metadata are not being
modified while rte_vhost_vring_call() is executed.

Fixes: 6c299bb7322f ("vhost: introduce vring call API")
Cc: stable@dpdk.org
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/vhost/vhost.c