Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2081665ybp; Thu, 10 Oct 2019 01:51:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/ouSDRtfnWZG3UE+lDFfWL36pTKn91DB8vEOCYbobPVW1Hz6yZ6pVEQran6bSLH1/1gmn X-Received: by 2002:a17:906:1942:: with SMTP id b2mr7033692eje.36.1570697517604; Thu, 10 Oct 2019 01:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570697517; cv=none; d=google.com; s=arc-20160816; b=LnuoHh2EZwUdWkM+60Z0FCsnLlySZt9YHo6U3bx6lFnyLDxmm8M683xOxI0q8cib6W O/sjx0aSMkAhOrDVvM/DvMJbbJLtRq1W2WOjQLFzT9Y+vc95vqvVAODrMGMvArFXVZi6 /UlB+G7wwY3uHdtGmKi/EgLBzt8sT0R9x68PKPOx3jMIIB0IEqZ2vzrcfxyaoMANOgMo Enz2vaadzr7IXn30+xfkUdb7XPOlaYw57ISW1ztr01oxV3NZZBGUOgzy7Sa61a5lzoTa KpCK721Uu/cXb2193RDx3sS7wgug3cCMoTqWZ6pqV/rf6grcxgLgFejNPa9ry7VOpo5D sTyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=kbUGk/zH7Jd7BlhB+4/oDRz4mPdioNN/Nf5e+ZFx1KA=; b=M0DPneZBYfKZX54kUTWizGTZgE7eGb/cEc80ww5FCR7OqZ3142CKhX+sRug1Eii94f hImq9tWq8PhzBI1t5gBec+NkF5eXBDQ/Y96sOkcEnclfBnnlhtpENd3SAqzxwWvH7Nf1 Zu8o6XaJLvAjKiVLZifiPTdv/ux2+S4cfP9cKuE4NrM5FcE1WxNncQJfAMs20g9mXSVh LpWW0vI7uLDEE3bj44GpjRHQW0fMGqMph7qlY6MiwW0VugXtXAwH5NlRvM7JXC+IiRgm AF6gSClvs3C54U/V/7/hhnIJx+1gltlnelk+S86089IrQj4a6Omt563NKBp+8cSqzqNF /dAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l15si2795848eja.290.2019.10.10.01.51.34; Thu, 10 Oct 2019 01:51:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389960AbfJJIu0 (ORCPT + 99 others); Thu, 10 Oct 2019 04:50:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37728 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389959AbfJJIuY (ORCPT ); Thu, 10 Oct 2019 04:50:24 -0400 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A4DB33DE04 for ; Thu, 10 Oct 2019 08:50:24 +0000 (UTC) Received: by mail-wr1-f72.google.com with SMTP id z17so2404839wru.13 for ; Thu, 10 Oct 2019 01:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kbUGk/zH7Jd7BlhB+4/oDRz4mPdioNN/Nf5e+ZFx1KA=; b=G+++O+sio+lslwqKpLTAQs4NNqDgVNgfa2t6uxFVBkfyjyFlN9E0Ha2n1xyZat81+O Vqia7vuDCK3Es0mTVOFjpIa+3VkjDI9XD7NKpw1SWehwVknHmFbOyMNzLw99lL7nAq1F XtYarzHWJG/rtT49VhN2qwLKAvVGSPSwfmd/rYgFP6TBbC2rXVC3HtWyeTi0usfW8Q9I KR8cIWS8qHoS56b6WuonLgD1iPhjXOenDVdk+AxTLzE2EqcBVcDBEwTolA5ltQt7d2Z+ IbtEYiXruQG6/HbGf0pu9i8KF76zTebvuBIcnqbETckzG8sZ/1ET6xNfEFCkowSdc1xG vvkw== X-Gm-Message-State: APjAAAWv18hNjpjxnWKcKYFVMS4mLfOEaIdyKP4YdLNE9ZiXCY2SfW0t oNZNfwWvwQnPlE/husS6dXATNdLJT6GW5g6XswQ+DKrBZtFXypARlHKHtfw4KeITt0AjPXUyl8E tPjp7QTPTX00C7bGPzKTO63uC X-Received: by 2002:a5d:6a4e:: with SMTP id t14mr7690214wrw.286.1570697423407; Thu, 10 Oct 2019 01:50:23 -0700 (PDT) X-Received: by 2002:a5d:6a4e:: with SMTP id t14mr7690208wrw.286.1570697423217; Thu, 10 Oct 2019 01:50:23 -0700 (PDT) Received: from steredhat (host174-200-dynamic.52-79-r.retail.telecomitalia.it. [79.52.200.174]) by smtp.gmail.com with ESMTPSA id y8sm6284711wrm.64.2019.10.10.01.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 01:50:22 -0700 (PDT) Date: Thu, 10 Oct 2019 10:50:20 +0200 From: Stefano Garzarella To: Stefan Hajnoczi Cc: netdev@vger.kernel.org, Sasha Levin , linux-hyperv@vger.kernel.org, Stephen Hemminger , kvm@vger.kernel.org, "Michael S. Tsirkin" , Dexuan Cui , Haiyang Zhang , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Stefan Hajnoczi , "David S. Miller" , Jorgen Hansen Subject: Re: [RFC PATCH 06/13] vsock: add 'struct vsock_sock *' param to vsock_core_get_transport() Message-ID: <20191010085020.w5mbse7mnpzalhyr@steredhat> References: <20190927112703.17745-1-sgarzare@redhat.com> <20190927112703.17745-7-sgarzare@redhat.com> <20191009115433.GG5747@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191009115433.GG5747@stefanha-x1.localdomain> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 09, 2019 at 12:54:33PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 27, 2019 at 01:26:56PM +0200, Stefano Garzarella wrote: > > -const struct vsock_transport *vsock_core_get_transport(void) > > +const struct vsock_transport *vsock_core_get_transport(struct vsock_sock *vsk) > > { > > /* vsock_register_mutex not taken since only the transport uses this > > * function and only while registered. > > */ > > - return transport_single; > > This comment is about protecting transport_single. It no longer applies > when using vsk->transport. Please drop it. Right, dropped. > > Otherwise: > > Reviewed-by: Stefan Hajnoczi Thanks, Stefano