nexthop: allow nexthop_mpath_fill_node() to be called without RTNL
authorEric Dumazet <edumazet@google.com>
Thu, 22 Feb 2024 10:50:18 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2024 11:46:12 +0000 (11:46 +0000)
commit0ac3fa0c3b365f97c3969f391edf7b44d3bb210d
tree3675eb191b5a692fc5d347abca779a9880ae81c9
parent22e36ea9f5d7707ae3d64c497d172f4ef735c353
nexthop: allow nexthop_mpath_fill_node() to be called without RTNL

nexthop_mpath_fill_node() will be potentially called
from contexts holding rcu_lock instead of RTNL.

Suggested-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/all/ZdZDWVdjMaQkXBgW@shredder/
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/nexthop.h