Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp822155ybp; Wed, 9 Oct 2019 04:55:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNjUPjZaNrZL81x5bEvu7+hBvtb5BuCNwNbO+5bNzE5g0xF54Vq8bFGmnHtldX+NWelx73 X-Received: by 2002:a05:6402:7d2:: with SMTP id u18mr2591309edy.23.1570622113889; Wed, 09 Oct 2019 04:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570622113; cv=none; d=google.com; s=arc-20160816; b=xyxY7P00/7domBw++YBs6rGTX1dCoqu9Tdir8v/9nTFgjlsth9Fmbi7wh5qd9Tns1X RHf++eAs34LBYJE1kLyYPVDcYuPDqcOjKGG9w+nqgM0okvOzsbcVVC2mBIQ41rFEw9v3 QsNs7LU+41dyI9EM1MN1aIRuU/Fd1MnWV36fJhMm646gufc5Ili6UgUENnpFrBugxRtO agkchUdA+vU7j3EMYzQETwTHxMqUwOsio0whq4Zy3rlqx156MdAX6x9roeBqtxvRkkwg 61kTO4e2+FMqq2ymJ/FqiyEc4XWYzkxbjM0Z7WXmgZdM4UATlU/wZLVASSOFVxcsE0lG rWLQ== 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:dkim-signature; bh=K8xuIIKxM4jr1Ezc8qWxiUcuTrmdodaACnbuRgrOwy4=; b=X+Lcl0ciUGIB3Vyfqc+khK/KvVqqNo+DbeJ8nuzbqnEgbqIW2VZqlrL/Gw3wKTHCcp 7NTX72lXWYcT0PBGZY7w/dNu3OiLC3BUpeC7w96yVV27QVm4Bpo8uv8mzwm9Md4Sg0oL H7sgtThUDZBLC71BTyBOnFH9ZhroMSdZJjo7mM2ZJGu2jdraWCtRmyE7Bc/3JyNySxZ+ wYX14Hkl07X5Q5fyVjv4xxyV074r9K8vp/ivnGgTk0f+rLPTiKXlecbo053C9bYlYNTu vGX2wcyRP0mjzcXwJs37hzlX8wCKSrnbj4h5OdSatq2+6/Mmx5ifnbIKE21s1tVFqQOK tBrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GxeHshJj; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y49si1170566edb.138.2019.10.09.04.54.49; Wed, 09 Oct 2019 04:55:13 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GxeHshJj; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730954AbfJILyi (ORCPT + 99 others); Wed, 9 Oct 2019 07:54:38 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:51662 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727002AbfJILyh (ORCPT ); Wed, 9 Oct 2019 07:54:37 -0400 Received: by mail-wm1-f67.google.com with SMTP id 7so2227673wme.1; Wed, 09 Oct 2019 04:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=K8xuIIKxM4jr1Ezc8qWxiUcuTrmdodaACnbuRgrOwy4=; b=GxeHshJj+pdQQGjLZMzMN4EUBZaXzB04GuP45+JvMpVKsr3ERgg4f1ZQEsslNFQgVV 5fdzzDUW1CKqZD7zcCNIogsT5shD3oQG/dKx9UAXikI4JgTgn9UYj7XkluVRFNbB0Tz7 TUaxxYn3QH0oHUo/tMnl6EAP13Ze+HSDtziaHGgvnjKvEcqX4zFh74vIAB5wdfeOuux/ ppK7L2kobeIinaHOPQtgDHv7O3MgN6NWhMon6AVidemhPFfqAwzO9A81fx8zR/1bBnV3 QbcnoA00+0ZVLHd+lii0sTPxLS87csmc4par/EdmeSMwPC1qihpecG587Ol6WNNgH4qX e8nQ== 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=K8xuIIKxM4jr1Ezc8qWxiUcuTrmdodaACnbuRgrOwy4=; b=VkvkdFh5ffgq55C5USts+CFt0HZVVu8tRmmUKJBRWMxztQvW7s/HhkStXX6eb7hvnm RfGs3safhSiWGTDRvffKf+f8v4gLmQr+RQCsq3rAuXjNbLUBptrEQQKualatU5uGX5If aiwC0MUkVLCUOnIWiO53vvNgRBS7iOaX/sHrzUjIX/yHo0bc/axz0IKdPtgXz2qm8wvf L7S7mC/IsaDhorVmxB/wuZqssdT0eKtBD+gfTwsnOMtG54bXRSu6Pnf+4/HOuT5ysVVZ m6rD3zkfNgJUtrVjRfL4GjitqhMZEuwfV2uSF9iTqSliUQ6ZmPY9L+LbY4NbkcbeoUpJ Aa5g== X-Gm-Message-State: APjAAAU/brntEcn1REL8m8fLOYdy+vYVG7lMVGtnQqk8FppTw2NYTj9m hnJ2+2cx/A2enGdsgFEfCLOJTn5ay3k= X-Received: by 2002:a7b:c049:: with SMTP id u9mr2276879wmc.12.1570622075184; Wed, 09 Oct 2019 04:54:35 -0700 (PDT) Received: from localhost ([51.15.41.238]) by smtp.gmail.com with ESMTPSA id z9sm1734307wrp.26.2019.10.09.04.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 04:54:34 -0700 (PDT) Date: Wed, 9 Oct 2019 12:54:33 +0100 From: Stefan Hajnoczi To: Stefano Garzarella 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: <20191009115433.GG5747@stefanha-x1.localdomain> References: <20190927112703.17745-1-sgarzare@redhat.com> <20190927112703.17745-7-sgarzare@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="S5HS5MvDw4DmbRmb" Content-Disposition: inline In-Reply-To: <20190927112703.17745-7-sgarzare@redhat.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --S5HS5MvDw4DmbRmb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. Otherwise: Reviewed-by: Stefan Hajnoczi --S5HS5MvDw4DmbRmb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAl2dyngACgkQnKSrs4Gr c8jpGwf+OKGaK9OPf0rceIKo+5pdDJMkf+lhw9ooooqK7bZFZkqZFYhUYOP9qYqk iPKeaY6YWLpuWMJRuh2EObxLrC1VrmfYA1lPcNXDEq6yVOloX43zrBM5Zec2GVq3 GVJHTW2tw1bTyRAtLI/zSYy9hblQlWcG6BKmK1WBNFIyQ9JLGvRqFGKobpJPP2LS /7z3MWkRsZkFTUnJGocbhjbkZk2dLUwY9cy/IrOzfPAgX79WB7DSl7RpjH/hx7+b M8cDi9WDJ53vRN81sXNSHg8JQA3x+DoErU3TdY1sTxSyHqcZiPgI13LXZmIw3wSS W8aTJLNML/vAaTn6rvoGHkQXwt3Izw== =2X/V -----END PGP SIGNATURE----- --S5HS5MvDw4DmbRmb--