Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp464266ybk; Wed, 13 May 2020 04:55:31 -0700 (PDT) X-Google-Smtp-Source: APiQypLulgPWPZ9rarXi3nw5hqpWcmYxvcRaq7knCHCU2rcH+tO66D0eIGvzYXUImnT74X7A5Hur X-Received: by 2002:a17:906:4749:: with SMTP id j9mr15818001ejs.23.1589370931088; Wed, 13 May 2020 04:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589370931; cv=none; d=google.com; s=arc-20160816; b=VnKKZxPi5A5tvRWtnnWmae+yTHX2fdoxUUNFoym3Yh+uzW4bYI92RnSEkZIe7ejz3b 9A7IQFpwubbUNLw7HuWVXjiLiRqNJININmV2ue0vZ0YclkRlgmLotEDVnF6OnU9hOUf7 6adRUfrrBq7ZNvv0/RkcxAjis/MGhnoPfYxYC7IqAjUb2tqWAa+7oBH8hFDuD3colPNB NKSYHjM9gwu4bP1e+WeyQaFaQguRs0ytX4+7JGZ2tv9EzNwhivD0fhGN8LxEmvZvI8XV qQPmXNwJ4vEQW0ZHXGQPWzZLHzrNCOvHfHilZg4F81glFhdgEPAcLs8qFNnSQMTBrqgL ywRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=R8GivZm3G5mjlBhlfI0N22f4bnjc4PuBnAQOUTjpj48=; b=dm9reByPJWKVm0e3tKM1ypuzueumxjGVAUBt9owr9+m5zqF1Wt/iFboUTbflZx5eoD XN7uOts6MwJfwlMN1VfSjOVaS0Kab9fr4s3oGp9EsW5SsPZN7PpqtMOEs49y/gOddBrQ fNnHiUOyCCYtnsH3nim09qGGdtaoOZjPX60i5G9VosH/9dITpiWJ7MmlyCxk5RjWTxW+ PlS8Tpa3MU2Zm7go0V03Urv1K9dMTas+4Rtu9Q0JFRYTiQWmBcjgwcmXIXSwP39hMBqj Vyia8DnIG2ei1ud5bPqAH/Nl+nb41N3xAiojmr/GnW4zkYomeemkk8Pi3MdvxrJNNnFK kbGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=WuI4fRF4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si9320931eju.478.2020.05.13.04.55.07; Wed, 13 May 2020 04:55:31 -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; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=WuI4fRF4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731586AbgEMLxC (ORCPT + 99 others); Wed, 13 May 2020 07:53:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731493AbgEMLxB (ORCPT ); Wed, 13 May 2020 07:53:01 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32EAFC061A0C; Wed, 13 May 2020 04:53:01 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49MY2W4jQlz9sRK; Wed, 13 May 2020 21:52:51 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1589370776; bh=l+pd+mpalwVpPCiH+93FYHS/ISb+yEppBpyKCFyPq2s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WuI4fRF4JT2OuppMIkjyvoT/dpbfs+pMgfN/DBejenZuKFPxvOkg5582Pe7ekqpTe WGeOM9iKgEoq1PiLYcvpwmQ78lUXPn4iZ7TmfebFAidmTiH8SFzqdD5ZUgZZLOntKs V76qW0NsuW1VNRZudddZ2LykQYsp9sA8B4QnEvBnobUMVSFr0J5bEfutwrvWI/0SSy I/WCJTex/fDHm6K/6aS7uEPMspPLFRfe0OeI17+i+msnOiva+pNLaNSpAp79sQOAHC AfIuTEIEE3Qk57+3CrXoLB1jgGXaidoYqb4g+eIrZmg3Ez0nq+j+7tBH5Sj02XBKFV 7tFJUA90iY9ig== Date: Wed, 13 May 2020 21:52:50 +1000 From: Stephen Rothwell To: madhuparnabhowmik10@gmail.com Cc: davem@davemloft.net, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, frextrite@gmail.com, joel@joelfernandes.org, paulmck@kernel.org, cai@lca.pw Subject: Re: [PATCH] Fix suspicious RCU usage warning Message-ID: <20200513215250.43486e02@canb.auug.org.au> In-Reply-To: <20200513061610.22313-1-madhuparnabhowmik10@gmail.com> References: <20200513061610.22313-1-madhuparnabhowmik10@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/+ZZmrAi6vQ8lHEwg9rTck/B"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/+ZZmrAi6vQ8lHEwg9rTck/B Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Wed, 13 May 2020 11:46:10 +0530 madhuparnabhowmik10@gmail.com wrote: > > From: Madhuparna Bhowmik >=20 > This patch fixes the following warning: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > WARNING: suspicious RCU usage > 5.7.0-rc4-next-20200507-syzkaller #0 Not tainted > ----------------------------- > net/ipv6/ip6mr.c:124 RCU-list traversed in non-reader section!! >=20 > ipmr_new_table() returns an existing table, but there is no table at > init. Therefore the condition: either holding rtnl or the list is empty > is used. >=20 > Suggested-by: Jakub Kicinski > Signed-off-by: Madhuparna Bhowmik Thanks. Added to my fixes tree from tomorrow (until it turns up elsewhere). --=20 Cheers, Stephen Rothwell --Sig_/+ZZmrAi6vQ8lHEwg9rTck/B Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl6735IACgkQAVBC80lX 0GxXzwf9GtcbY3iOGDoZjrQ1h3WOwWBgxDlxjXrp4sQMQjmZ09AgypNRBCLS2pQ3 /aoFl7wz8hbgQ1RX/PvLddq4c1dIFnkj+WJFauEdqoJJHM6GXRngBjS0nENVVyL0 yJc+bTqAfrG5C+UaxIOHbndNA88svGtDSOqN2zAPEPm/Wz0YwPY/kVyo3gNa3lrN 7NbrjmjZHkuYEXcZ5FYlvasghIppBlm7LMDRzc9Uq4pev/i7nBA0ZfrmNP4m+Bwm AdK9nLcoHvE9VJhaBiF2IJcMdf0G7/EQ8puwJg/F4k0cxuXq70ITDYa5JJUlNZh1 +Q3h/+6awqJ7DkMrYKmAis+o0fHEqg== =0Y4j -----END PGP SIGNATURE----- --Sig_/+ZZmrAi6vQ8lHEwg9rTck/B--