aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2019-08-26 16:45:02 +0300
committerDavid S. Miller <[email protected]>2019-08-26 14:17:43 -0700
commit11bd634da25735a3f2f12112d02661d462a76792 (patch)
tree8c80a516c7d1b042d59d766f2a89a0b442cd5126 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentc9f14470d04830de217f9d28fcd0deffd7e8c0b1 (diff)
net: sched: conditionally obtain rtnl lock in cls hw offloads API
In order to remove dependency on rtnl lock from offloads code of classifiers, take rtnl lock conditionally before executing driver callbacks. Only obtain rtnl lock if block is bound to devices that require it. Block bind/unbind code is rtnl-locked and obtains block->cb_lock while holding rtnl lock. Obtain locks in same order in tc_setup_cb_*() functions to prevent deadlock. Signed-off-by: Vlad Buslov <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions