From: Ido Schimmel <ido...@idosch.org>
Date: Wed, 29 Jul 2020 11:34:36 +0300

> From: Ido Schimmel <ido...@mellanox.com>
> 
> The commit cited below removed the RCU read-side critical section from
> rtnl_fdb_dump() which means that the ndo_fdb_dump() callback is invoked
> without RCU protection.
> 
> This results in the following warning [1] in the VXLAN driver, which
> relied on the callback being invoked from an RCU read-side critical
> section.
> 
> Fix this by calling rcu_read_lock() in the VXLAN driver, as already done
> in the bridge driver.
> 
> [1]
> WARNING: suspicious RCU usage
> 5.8.0-rc4-custom-01521-g481007553ce6 #29 Not tainted
 ...
> Fixes: 5e6d24358799 ("bridge: netlink dump interface at par with brctl")
> Signed-off-by: Ido Schimmel <ido...@mellanox.com>
> Reviewed-by: Jiri Pirko <j...@mellanox.com>

Applied and queued up for -stable, thanks.

Reply via email to