On 1/31/25 2:09 PM, Maxime Coquelin wrote:
This patch fixes a regression in vhost_driver_register()
causing VDUSE devices registration to fail systematically
because the return value was initialized to -1 and not
changed later on for this type of devices.

Fixes: 4d2aa150769b ("vhost: remove check around mutex init")

Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
---
  lib/vhost/socket.c | 10 +++-------
  1 file changed, 3 insertions(+), 7 deletions(-)


Applied to next-virtio/for-next-net.

Thanks,
Maxime


Reply via email to