aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2019-03-27 20:53:47 -0700
committerDavid S. Miller <[email protected]>2019-03-29 10:48:03 -0700
commit331c7a402358de6206232f6aab7aa48ec6c1088a (patch)
treedf3c9ac99ca90245fa32e9f5cd115f665eb2f117 /tools/perf/scripts/python/check-perf-trace.py
parent8373c6c84e6748e1dd8b82c43af37572ab040233 (diff)
ipv4: Move IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN to helper
in_dev lookup followed by IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN check is called in several places, some with the rcu lock and others with the rtnl held. Move the check to a helper similar to what IPv6 has. Since the helper can be invoked from either context use rcu_dereference_rtnl to dereference ip_ptr. Signed-off-by: David Ahern <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions