Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4215637pxv; Mon, 19 Jul 2021 20:46:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtVrCOrJKfF0Ohk+8w0iQTGj3LL/fokbVdAHFoqDW4UJquWOemEk6S5Pb+cxuYXb0NDCup X-Received: by 2002:a5d:8358:: with SMTP id q24mr1718517ior.168.1626752785077; Mon, 19 Jul 2021 20:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626752785; cv=none; d=google.com; s=arc-20160816; b=oFFd4zipo3d7nTVnb37MKpGdwKNQ1lDPxAZWFZpZziZV4xPJhfp67t+ECCthO/M2m7 ObgRmOQwMXw9vH/vyalGmVqmCYk7reuL+1TTxhqera4OiyurkJpDt4fRTRwfTTAU3G0i GCqi28taLYG/cZc17R9CjCGwPBmKu2pLUbgZvYQ6pGqS6ghcYLobt+qtCmh9eioE5Ijw RfNgHxTYi/4kQtmJ0V92t90zMoe6k5LWRt3R8LSxE0sSKq1sjcOPBCP9M/NutpxT6t6S EAS4BgVbGT5WXHTk3bIWEBJ4GeTjmSJrKcfZ0wbxoT1kj9TlTlsGht5OaQPNdmHj7b8e SgRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=Ah80CUH/22UEo5ZUnHVlVX4sqhc4m0WWBQE6XLF7sgE=; b=j9lYendD+uRtD8bDXTnkT/off8B8ktDTQ5V0g0nru8etNWLpFRuIHtU6iIjDavDGCW ZSuGgFrtyXlMiCJD8veWNj+119WVpRb9exx1657KRnfA8u7EjO7WAmQQkEk06Ew8q+xW 7oJtovEHEyp6CIa0ZllDJVCRn4UV/3ih9UVwk0Ky002sUjOrDoR1esCE/Gmp7w7TdASH XrqLauS1fyckOptv85DSM1tusP/3P9t4m0ch5y5dMTrIcPDyP8jjYCHDfdu7QRgcZiiK Z02k6ARyCSRX6O9TMiRTOx9beBtwAzGa1voFugZWDQEAQ5nq7VBFR814Z8abfQUIE05f V7ZA== 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.46.14; Mon, 19 Jul 2021 20:46:25 -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 S237832AbhGTDEr (ORCPT + 99 others); Mon, 19 Jul 2021 23:04:47 -0400 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:48531 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237423AbhGTDEL (ORCPT ); Mon, 19 Jul 2021 23:04:11 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R581e4;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_---0UgNuUBs_1626752688; Received: from B-LB6YLVDL-0141.local(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0UgNuUBs_1626752688) by smtp.aliyun-inc.com(127.0.0.1); Tue, 20 Jul 2021 11:44:48 +0800 Subject: Re: [PATCH] vsock/virtio: set vsock frontend ready in virtio_vsock_probe() To: Xianting Tian , 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 References: <20210720034255.1408-1-tianxianting.txt@linux.alibaba.com> From: tianxianting Message-ID: <3228d3f9-90c5-1033-97f7-642a261773a5@linux.alibaba.com> Date: Tue, 20 Jul 2021 11:44:48 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210720034255.1408-1-tianxianting.txt@linux.alibaba.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please help review this one, thanks ignore the one https://lkml.org/lkml/2021/7/19/3279 , which contains wrong mail address. ?? 2021/7/20 ????11:42, Xianting Tian ะด??: > 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;