aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2020-02-20 09:07:55 +0200
committerDavid S. Miller <[email protected]>2020-02-20 10:04:34 -0800
commitf24fbf4de5d4241a7c5f3fa6fc7fcd60835a6b40 (patch)
tree3548c4101d0d584937dd6b2455328b89dfa9d2c5 /tools/perf/scripts/python/sctop.py
parent23d154c0d071468aadbebb57a0d73e93bd1aff0e (diff)
mlxsw: spectrum_router: Do not assume RTNL is taken when resolving underlay device
The function that resolves the underlay device of the IPIP tunnel assumes that RTNL is taken, but this will not be correct when RTNL is removed from the route insertion path. Convert the function to use dev_get_by_index_rcu() instead of __dev_get_by_index() and make sure it is always called from an RCU read-side critical section. Signed-off-by: Ido Schimmel <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions