Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4215032pxv; Mon, 19 Jul 2021 20:45:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrMY+AC66gDV5a9dzlYriQAuxNxdhnOcVWgAV0w0g3MtkIApoZEI31IGW4A0bWEsmu2bCq X-Received: by 2002:a92:d84a:: with SMTP id h10mr18727643ilq.55.1626752711104; Mon, 19 Jul 2021 20:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626752711; cv=none; d=google.com; s=arc-20160816; b=sEBM/y1nO0OdbNiOdXPVPnfuhV0s3AmJp/oey7pqd2ZpfaMqK6PBLjG35NuvrSGxlN oj7hMljdO7jL1th+nfmqDTHgiJJkjVIJ3TEsVjoNCXdYkLpZHZVmtTFv23k7auz1jsQg skjgXi4s5Zyo2I9UeYWgsQWJBb93pToHo+duxY3Kv76vVVRPG1/CwXn+ATWAbDJY+CGI Lyu54gqOS2W0nmUqmFzLd+OwE0aE/1E1KnJo32nC2FqxPqIh8Mo0YzO/SRpB5X8Pgd1A DjTNnqBcmlxIeSOnNHu5eoueqDLauGvZ9nqjC195UzUyJhBECVByu0KyGXBqDaIRGg2s 4kCA== 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=+QgxmOYJimZQMaKDRT9oqwei+neJ8Dd0F7hIwbPAKkw=; b=bTrhyKwcdDgBi1ANRjyqXouJJaVaZTlIvm0BOWQr/38OV0/GYu54zJUm/z1H05z/bN muss6OycTcY/MBgV5JkSglcR+Kx5J2/tnsHbKwZ3s2oJHZSCt1W/dQz4/nVeQIiFHUUe 9hcxuZP8sOX90R863XYvAFUzz16e1sAU/N+MD2UM6Z3Dmm0iwoGJ7yNqh+E8/UwqsqQm tIpaWho5Pc57JT/pqOfKIhdIcFBcgk6EgZ1Uk4ucsA+qjhRJ2CiMUsIz1AB/PDcPJZVL LMaVn5wg63RqCGfUteU1bbqpwR+6m67rVGs2G0F5+VzJXjqfHMc5M4zyNgWVR1VDmgWq Ao8g== 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 r18si21939085ile.92.2021.07.19.20.44.59; Mon, 19 Jul 2021 20:45:11 -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 S1347469AbhGTDCu (ORCPT + 99 others); Mon, 19 Jul 2021 23:02:50 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:44538 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237981AbhGTDCd (ORCPT ); Mon, 19 Jul 2021 23:02:33 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=xianting.tian@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0UgNaoZX_1626752576; Received: from localhost(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0UgNaoZX_1626752576) by smtp.aliyun-inc.com(127.0.0.1); Tue, 20 Jul 2021 11:43:08 +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:42:55 +0800 Message-Id: <20210720034255.1408-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 From: Xianting Tian 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