[PATCH v2] vsock/virtio: set vsock frontend ready in virtio_vsock_probe()

From: Xianting Tian
Date: Tue Jul 20 2021 - 03:14:07 EST


Add the missed virtio_device_ready() to set vsock frontend ready.

Signed-off-by: Xianting Tian <xianting.tian@xxxxxxxxxxxxxxxxx>
---
net/vmw_vsock/virtio_transport.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c
index e0c2c992a..dc834b8fd 100644
--- a/net/vmw_vsock/virtio_transport.c
+++ b/net/vmw_vsock/virtio_transport.c
@@ -639,6 +639,8 @@ static int virtio_vsock_probe(struct virtio_device *vdev)

mutex_unlock(&the_virtio_vsock_mutex);

+ virtio_device_ready(vdev);
+
return 0;

out:
--
2.17.1