Re: [PATCH v2] ipv4: fix a RCU-list lock in inet_dump_fib()
From: David Miller
Date: Tue Mar 24 2020 - 00:00:31 EST
From: Qian Cai <cai@xxxxxx>
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@xxxxxx>
Applied and queued up for -stable, thank you.