Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4214274pxv; Mon, 19 Jul 2021 20:43:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLwzB1ZMMWLV/lUN/FSmpXhcnY2mUlDo2FuI8seMbqmNjEbaAxcbx0WbApRxlCk0AGbID2 X-Received: by 2002:a17:907:7256:: with SMTP id ds22mr29788461ejc.363.1626752601343; Mon, 19 Jul 2021 20:43:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626752601; cv=none; d=google.com; s=arc-20160816; b=nSS1lmXtrN80stS4Ga79k9fVKY0xR0RXbhNX8SndEEVdURCMNnFVmo8v1qUT8bCS+L Sf9skiaKMWOf61xQ0OrrYH136PfcmOkRHW4dVHe0Nxb9SUDiUUnEST3Qqfd0zgkZfLNJ OfoIn1XBblKeAX6FpGJ/u8NeKhkYeWzWxenwR/g8ozoNVHVf7HoPxBNq2dNpCLLWh47C AdjXSs3c1GZfKpaZTkUZir0tbEvrKdX5rL/LkwMrKVLGEhvYcaj13q62NheMVMndXtXs ffzSzFfz3hi2WZoBplrHVKGO+Dbgfcpk+Ki7mmjZANiZ6zSaHstpQq0n0D3SwUwaNsvF aTig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=X496U8kacaLONaRmes1u0y0ysSHaVidL4PwW52ewkIQ=; b=WTS3AF/5bhrg3Q8xGKSUsfSh7Dvop6o16QvgyBKLnn1sm1P1QI8w0fJ33qXBl3JU6X W2/ZRSrBQe1YWZfCuzi+Nnow9dYsq2QXoHWBZDgyFmhH4dRdmiyVEhLTdqQrfpL6wtbA 4leSdheLX4/uuK7GBmy7fw5NxvmR0lFUHEi50j7xGKZov8AgWWWm8TMXEMag005fKdOU ByKWUwIFbGScHbIKIbsuMMaKxKuc/v1E5/5jF4rR0ZWy0wmQUVsmcEOLoM7djv3fpMP6 ybKLMTK1RgQz1aFigoCtGD9q7+JZKegWUXzCoqBrFKy198uumjAooBqeoLtMR3bLQwfJ 9ZeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p26si24480400edu.78.2021.07.19.20.42.58; Mon, 19 Jul 2021 20:43:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347521AbhGTDAz (ORCPT + 99 others); Mon, 19 Jul 2021 23:00:55 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:48229 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346553AbhGTDAP (ORCPT ); Mon, 19 Jul 2021 23:00:15 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R571e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=xianting.tian@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0UgNm9wq_1626752441; Received: from localhost(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0UgNm9wq_1626752441) by smtp.aliyun-inc.com(127.0.0.1); Tue, 20 Jul 2021 11:40:52 +0800 From: Xianting Tian To: stefanha@redhat.com, sgarzare@redhat.com, davem@davemloft.net, kuba@kernel.org, jasowang@redhat.com Cc: kvm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Xianting Tian Subject: [PATCH] vsock/virtio: set vsock frontend ready in virtio_vsock_probe() Date: Tue, 20 Jul 2021 11:40:39 +0800 Message-Id: <20210720034039.1351-1-tianxianting.txt@linux.alibaba.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the missed virtio_device_ready() to set vsock frontend ready. Signed-off-by: Xianting Tian --- 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