Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1106829ybk; Thu, 14 May 2020 00:06:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKXrKmaf7TR7QJkGmAb2MEKghy+leYHY0gOmLqMDGlcGS+X20j10SdDk4lVU+UlS3/RRwh X-Received: by 2002:a17:906:909:: with SMTP id i9mr2381094ejd.347.1589439991704; Thu, 14 May 2020 00:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589439991; cv=none; d=google.com; s=arc-20160816; b=Crt9Z5DDloYpV2kC9svxdr+amTzq2kSFSBU4z5B7OvV7XO2m/MrPzyLIesVT7spwXR xT+RrrnTN1PtQcNBhDJj7z6KrKzTOd2hI/I+f/QJBK69IgAoSaXVLNbFM6zdUgCKzT0w +XwG7e6a2EOTIZ04vg+RyU8Ut9yIIeprgB+zt0xSOvE9o55H+ZVAYEExXEOYCVkVC+zO TBTff5LpiM+xRf05iyzpF1NwuvpbkvNyp1CVjnt68b2ZAB2OT5tom4SVG9qzc49w746s 5ncqJ8AK/SxN6MlHFt0kVOQb8vjhiP/HEYbgAMtwgZluZITHZ5/0FXbPRLOmfckvGd5m a02g== 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:date:from:dkim-signature; bh=Hl1HPzb7dFtDLSR9rDmWF+8gIgfdqQC3u8YiNpHMJl0=; b=yuJbhQlzZw0Sq5szqalmzQH320ApydD4VUoWXTHgYA83bVcSmow2ZyPXfLRWRp5tHy DDqlV2NOQ8s2116w7q7DKHbHXjQc6HCshLvKqP5u75mWmmiJJBf82+xKG4gK6JqIC078 9o19OS2z1TIzLKP+9sU8crqFIsvl8QnSsGkZoU3HOA2D7RDewfJb/DkWqsDUxJ0Ju+Cn sht4RUA/AYueeW/8Re11sJLfNNcEUg0VRjwNXyGA1kgKEJ6egZBq4P+JFkZ9cxHHDL0A fc15e4NLbmHr+gWO8XkRcVDXda8SCTBTcOLiXCgvdb90ZgAVcNSwesddIpPuP8ZNsrRv ke7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CtP+bBcS; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c22si1027407eds.427.2020.05.14.00.06.08; Thu, 14 May 2020 00:06: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=@gmail.com header.s=20161025 header.b=CtP+bBcS; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726139AbgENHEU (ORCPT + 99 others); Thu, 14 May 2020 03:04:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgENHET (ORCPT ); Thu, 14 May 2020 03:04:19 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7748FC061A0C; Thu, 14 May 2020 00:04:19 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id r10so875133pgv.8; Thu, 14 May 2020 00:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Hl1HPzb7dFtDLSR9rDmWF+8gIgfdqQC3u8YiNpHMJl0=; b=CtP+bBcSjhGDsnkt8n84+x3WSL1FNSfcdsZ6vPxLKDK3zn9+rUCTxkJr7wUQ4YK2JJ SMS08S3Koj2QBf6eGyWenIyBzBwv4mtMMEmS5oqXGXC1M4GfJG0kpjKXfvKBEHvhT7p+ xqp1REo/VOz2c3KwjiA1kXfzPTkSF9SrpU+C29/k/Oj3hfc14Pyhmegc5eQXuGxVXyAI hD+O51R6MAH4PxgrP0RaSJniy/S96KWNN0Y3XKijTRuqewgLAcldvsiLleyS3iYyz1II +QXw9VRwFsBtE88ryWZwx1/S1KJJ7IAT5Up8zq3VcOsWlsC+2+P90fnIk3nK+9uHCINO G3lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Hl1HPzb7dFtDLSR9rDmWF+8gIgfdqQC3u8YiNpHMJl0=; b=GNJ6vbHtCYc0/W0n1tnuyV8EIwCPtFgqLTtG21NmJutLoOF6+VpRwnYDUpsd3pnfRF YuD4IKkAegEQTjFk+X6Y7UEGW9K+luAVovC6j9Mq3M8H+5nSRuXa1HQ2fMamq2aUNPFr 9A+cqqOFVcGJ8Su1yMLsgsBFQOvPaKI2tZlKdUvWxV4wRuY1upFdyus1zFylvvmoKw1c 4+oulfQxKxceuV7CO4WwPXdAetais93tNBOrx8cge/EGF/+c4GALPNNlZtVAFhn3LaU3 tm4CHgLSRLV6M8YDT1JAC+EbZr3gD0s+dc0+jB2dH3oVRp+jIR11NuhcBn8dy21DjY4c RDZw== X-Gm-Message-State: AOAM530nWMmBhm+K2qaUjEjTeqrXY+taXtzn6U/FyL2POsjYlrpl55ze IZHCSJIr7T7QiPEZVKsLYg== X-Received: by 2002:a63:e90e:: with SMTP id i14mr2789778pgh.173.1589439859068; Thu, 14 May 2020 00:04:19 -0700 (PDT) Received: from madhuparna-HP-Notebook ([2409:4071:5b5:d53:89fb:f860:f992:54ab]) by smtp.gmail.com with ESMTPSA id 28sm17439149pjh.43.2020.05.14.00.04.13 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 May 2020 00:04:18 -0700 (PDT) From: Madhuparna Bhowmik X-Google-Original-From: Madhuparna Bhowmik Date: Thu, 14 May 2020 12:34:09 +0530 To: David Miller Cc: madhuparnabhowmik10@gmail.com, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au, frextrite@gmail.com, joel@joelfernandes.org, paulmck@kernel.org, cai@lca.pw Subject: Re: [PATCH] Fix suspicious RCU usage warning Message-ID: <20200514070409.GA3174@madhuparna-HP-Notebook> References: <20200513061610.22313-1-madhuparnabhowmik10@gmail.com> <20200513.120010.124458176293400943.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200513.120010.124458176293400943.davem@davemloft.net> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 13, 2020 at 12:00:10PM -0700, David Miller wrote: > From: madhuparnabhowmik10@gmail.com > Date: Wed, 13 May 2020 11:46:10 +0530 > > > From: Madhuparna Bhowmik > > > > This patch fixes the following warning: > > > > ============================= > > 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!! > > > > 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. > > > > Suggested-by: Jakub Kicinski > > Signed-off-by: Madhuparna Bhowmik > > > > Signed-off-by: Madhuparna Bhowmik > > Please only provide one signoff line. > > Please provide a proper Fixes: tag for this bug fix. > > And finally, please make your Subject line more appropriate. It must > first state the target tree inside of the "[PATCH]" area, the two choices > are "[PATCH net]" and "[PATCH net-next]" and it depends upon which tree > this patch is targetting. > > Then your Subject line should also be more descriptive about exactly the > subsystem and area the change is being made to, for this change for > example you could use something like: > > ipv6: Fix suspicious RCU usage warning in ip6mr. > > Also, obviously, there are also syzkaller tags you can add to the > commit message as well. Sorry for this malformed patch, I have sent a patch with all these corrections. Thank you, Madhuparna