Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4431627pxb; Mon, 21 Feb 2022 21:25:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIYX7Oh5WoCJ7/ESTdTx8Y9BpRR5ku/372NjLgaIvAqVfTnEmRGSl3YWQxo89ll+7A2qSC X-Received: by 2002:a63:f011:0:b0:36c:2da3:32bc with SMTP id k17-20020a63f011000000b0036c2da332bcmr18432592pgh.40.1645507514868; Mon, 21 Feb 2022 21:25:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645507514; cv=none; d=google.com; s=arc-20160816; b=fAPTQao6bB3v/nj17bV4vLgWARy7sqRgOcy+FnQmm09DlUAulJdt7JPL2T3iArH5Ex K3oQbB2bjyp30bRqtcRxgW4gvvNy0OCEmsaN2zNUxuIcMU6hhrBKjcjoHYsXoA3UqySS MJPIYj0j7W04gDcvqHMBKfpp1EHjkqSF4EK0sO8DpJeor7TYAFrBjTu1NvAJl0oMEzvg Hq3zmBjiMIvtBTZHAAmATSQpI3VQ8A6zB/ayvmjSI+XJrqih5acgCMxHMNani49PfSnP Jm4THn24/W04oBBHSvJr9TM1YeXVNZXTYl1TDQIDIxjaB3JVi8enFCtkPDTUrFVl/ko5 abTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rc93G4/qTvE1ZYiC5yWr1O2C0TkaoFvvFLrkTcp0OiU=; b=ZzS3qaTF7qGnVYymaXCuZ3S1JS3viReBKbcdaflR340w31vJNGFxt20JrtNsH/YXno 6nrt5HizPp7YH3tPEvUjzyIlNMZSLTS6zQrNa4pl0yNuPdHk1VXkBFpQcKJPpukbHfgV rvgdfQ+f4wPC2vJjBNe2lUULKFF/chMBaDfCyxiTNagtzMqjknVFlfVY90MF0Q3KIHrb SDeXNl12GO2AreIWyrGCJiyG6JzUiCOMP1V/Trrx1MTjz7WuO/AQ5iLQvM997GeYXw9S sd0RBRvqBw9enQgekhWKDXrA/dYzmFB+n4yrpIougRRP6x2VxuUxe/8hDSsDjDJTB2tD 5lPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Y69o6eJC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d10si8432782plo.98.2022.02.21.21.25.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 21:25:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Y69o6eJC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0EC58107826; Mon, 21 Feb 2022 20:55:41 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237534AbiBVAQH (ORCPT + 99 others); Mon, 21 Feb 2022 19:16:07 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbiBVAQC (ORCPT ); Mon, 21 Feb 2022 19:16:02 -0500 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E164224BFC; Mon, 21 Feb 2022 16:15:37 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id EFD5E32020A4; Mon, 21 Feb 2022 19:15:34 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 21 Feb 2022 19:15:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=rc93G4/qTvE1ZYiC5 yWr1O2C0TkaoFvvFLrkTcp0OiU=; b=Y69o6eJC81KbBulRopMzp6lUJuZ9AISxP +1QcRCFA2Lymy2SX6QdNNij+bpUKjLI7JY4jk6B+bsTE4uvRYLBtYJQVtWxLXOF7 MC7BrgMjs73uOxKJd9JXq/llwO7LemYllNLWxpBII5AYt1DEKRPBJVbzniAl47EV I9+klBHWuuqK0ub/hUfvoMiMtMxtH8+AXU2eUhu1qnegNWweYwBpOLP94gcFk3Ed /xZmjxfMLtm6ggHg69s6N6iJbAvkHiohXHuNcbXTJ0JCAuGZGUMILtklyzt0pOtX cCF3DmjcxDKdnzI5Gl1lgGvALIo1R+JX0RkT5U6LWasdG37Dbrdqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkeejgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofgrrhgvkhcu ofgrrhgtiiihkhhofihskhhiqdfikphrvggtkhhiuceomhgrrhhmrghrvghksehinhhvih hsihgslhgvthhhihhnghhslhgrsgdrtghomheqnecuggftrfgrthhtvghrnhepteevffei gffhkefhgfegfeffhfegveeikeettdfhheevieehieeitddugeefteffnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrrhhmrghrvghksehi nhhvihhsihgslhgvthhhihhnghhslhgrsgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 21 Feb 2022 19:15:32 -0500 (EST) Date: Tue, 22 Feb 2022 01:15:29 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Juergen Gross Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Boris Ostrovsky , Stefano Stabellini , "David S. Miller" , Jakub Kicinski , Antoine Tenart , "moderated list:XEN HYPERVISOR INTERFACE" , "open list:NETWORKING DRIVERS" Subject: Re: [PATCH] xen/netfront: destroy queues before real_num_tx_queues is zeroed Message-ID: References: <20220220134202.2187485-1-marmarek@invisiblethingslab.com> <3786b4ef-68e7-5735-0841-fcbae07f7e54@suse.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+tkBggBQeIzPYW+u" Content-Disposition: inline In-Reply-To: <3786b4ef-68e7-5735-0841-fcbae07f7e54@suse.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+tkBggBQeIzPYW+u Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Tue, 22 Feb 2022 01:15:29 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Juergen Gross Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Boris Ostrovsky , Stefano Stabellini , "David S. Miller" , Jakub Kicinski , Antoine Tenart , "moderated list:XEN HYPERVISOR INTERFACE" , "open list:NETWORKING DRIVERS" Subject: Re: [PATCH] xen/netfront: destroy queues before real_num_tx_queues is zeroed On Mon, Feb 21, 2022 at 07:27:32AM +0100, Juergen Gross wrote: > I checked some of the call paths leading to xennet_close(), and all of > those contained an ASSERT_RTNL(), so it seems the rtnl_lock is already > taken here. Could you test with adding an ASSERT_RTNL() in > xennet_destroy_queues()? Tried that and no issues spotted. > In case your test with the added ASSERT_RTNL() doesn't show any > problem you can add my: >=20 > Reviewed-by: Juergen Gross Thanks. --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab --+tkBggBQeIzPYW+u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmIUKyEACgkQ24/THMrX 1yzoYwf9Gx9pcUVHvqm8ndGiV2gIwVCSdgcmDurruCiP0HW8l4A1u6WAWRPs1qRH ZBdfn5OSBZwFZu0tVetXVnmWmMAKjqWAHNIF+DlptXue1GzEMa8QIy3NA5iplpOc E4xTNf2rn4tEhz4lunfATqTeLKtju19I0w8CD/szjq5CcqOTyHbOV5PodTF2ZdhY yAxGB/KTZUROG+8+orCaqmv9RTe0nob293WI8FpAGr4+QowJKuTsygIX+tryKzIA 2baSea6s+ZjOg0d4NSGSEbU9u8o0NibNiiuT5cAVRHVkVpUNwn4bs3H7K7P25fZe RrtbyZfzDTeTV5TfKUQwWl9q6tORaw== =Kebw -----END PGP SIGNATURE----- --+tkBggBQeIzPYW+u--