[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210720034039.1351-1-tianxianting.txt@linux.alibaba.com>
Date: Tue, 20 Jul 2021 11:40:39 +0800
From: Xianting Tian <tianxianting.txt@...ux.alibaba.com>
To: stefanha@...hat.com, sgarzare@...hat.com, davem@...emloft.net,
kuba@...nel.org, jasowang@...hat.com
Cc: kvm@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Xianting Tian <tianxianting.txt@...ux.alibaba.com>
Subject: [PATCH] vsock/virtio: set vsock frontend ready in virtio_vsock_probe()
Add the missed virtio_device_ready() to set vsock frontend ready.
Signed-off-by: Xianting Tian <tianxianting.txt@...ux.alibaba.com>
---
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..eb4c607c4 100644
--- a/net/vmw_vsock/virtio_transport.c
+++ b/net/vmw_vsock/virtio_transport.c
@@ -637,6 +637,8 @@ static int virtio_vsock_probe(struct virtio_device *vdev)
vdev->priv = vsock;
rcu_assign_pointer(the_virtio_vsock, vsock);
+ virtio_device_ready(vdev);
+
mutex_unlock(&the_virtio_vsock_mutex);
return 0;
--
2.17.1
Powered by blists - more mailing lists