Message ID | 20200911122459.944382043@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=6oDz=CU=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA327C43461 for <stable@archiver.kernel.org>; Fri, 11 Sep 2020 16:32:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AFB782220D for <stable@archiver.kernel.org>; Fri, 11 Sep 2020 16:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599841973; bh=NwDlos2Su04sMbf3aXst3vL8NNa1u9JoRt1CPihA33E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=cgKdCUkTNyqOKWtpVy6AvOgSbBJvtG7mRJfkkEcAgShz6I05zMl/ClKAYMvPaAmwH f4lH5qj2b2VZNxwr31RVWQIASTu8HTflZaFE2eJWj5Um+DM5GwSUPGvx0NSdjGcj5P dugnWpcfotJhmCpt/+9Iwy8BczPyL97r3t5uWWqM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726302AbgIKQct (ORCPT <rfc822;stable@archiver.kernel.org>); Fri, 11 Sep 2020 12:32:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:53394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbgIKPTF (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 11 Sep 2020 11:19:05 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3A9AB2245B; Fri, 11 Sep 2020 13:00:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599829201; bh=NwDlos2Su04sMbf3aXst3vL8NNa1u9JoRt1CPihA33E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gdduANGwx31aDHIExtx1pmJ47qrQrEcvoPTLdMYpP9U8EAHO+p7SLrKeHyffmq5PS 7J/d6D210cvnQVnIUu30jqKEjhBrgBpcTxymzW2YGnQTJC2b9LsTmMPVvzTou71DOh u5QOn8L1x1e1NjvZCATwFcVT25hd4RicTFRWUDIY= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Ido Schimmel <idosch@nvidia.com>, David Ahern <dsahern@gmail.com>, "David S. Miller" <davem@davemloft.net> Subject: [PATCH 5.8 07/16] ipv4: Silence suspicious RCU usage warning Date: Fri, 11 Sep 2020 14:47:24 +0200 Message-Id: <20200911122459.944382043@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911122459.585735377@linuxfoundation.org> References: <20200911122459.585735377@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -2121,7 +2121,8 @@ void fib_info_notify_update(struct net * struct hlist_head *head = &net->ipv4.fib_table_hash[h]; struct fib_table *tb; - hlist_for_each_entry_rcu(tb, head, tb_hlist) + hlist_for_each_entry_rcu(tb, head, tb_hlist, + lockdep_rtnl_is_held()) __fib_info_notify_update(net, tb, info); } }