diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-02-20 10:07:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-20 21:04:34 +0300 |
commit | c43ef22843db4a415d43854eaae4b08b9dcae394 (patch) | |
tree | 6789954609c7cc1397ee7dff2e1a11d279c4d742 /tools/perf/scripts/python/stackcollapse.py | |
parent | eb833eec3b4cad9d5ba54d573f88f756e4c5fb84 (diff) | |
download | linux-c43ef22843db4a415d43854eaae4b08b9dcae394.tar.xz |
mlxsw: spectrum_router: Do not assume RTNL is taken during nexthop init
RTNL is going to be removed from route insertion path, so use
__in_dev_get_rcu() from an RCU read-side critical section instead of
__in_dev_get_rtnl() which assumes RTNL is taken.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions