From: David Miller <davem@davemloft.net>
To: cai@lca.pw
Cc: alexander.h.duyck@linux.intel.com, kuznet@ms2.inr.ac.ru,
kuba@kernel.org, yoshfuji@linux-ipv6.org, dsahern@gmail.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ipv4: fix a RCU-list lock in inet_dump_fib()
Date: Mon, 23 Mar 2020 21:00:26 -0700 (PDT) [thread overview]
Message-ID: <20200323.210026.2188935498095960390.davem@davemloft.net> (raw)
In-Reply-To: <20200320025421.9216-1-cai@lca.pw>
From: Qian Cai <cai@lca.pw>
Date: Thu, 19 Mar 2020 22:54:21 -0400
> There is a place,
>
> inet_dump_fib()
> fib_table_dump
> fn_trie_dump_leaf()
> hlist_for_each_entry_rcu()
>
> without rcu_read_lock() will trigger a warning,
>
> WARNING: suspicious RCU usage
...
> Fixes: 18a8021a7be3 ("net/ipv4: Plumb support for filtering route dumps")
> Signed-off-by: Qian Cai <cai@lca.pw>
Applied and queued up for -stable, thank you.
prev parent reply other threads:[~2020-03-24 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-20 2:54 Qian Cai
2020-03-20 15:23 ` David Ahern
2020-03-24 4:00 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200323.210026.2188935498095960390.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=alexander.h.duyck@linux.intel.com \
--cc=cai@lca.pw \
--cc=dsahern@gmail.com \
--cc=kuba@kernel.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®