summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-record
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-09-24 19:22:58 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-25 20:17:36 -0700
commit787ce6d02d95d01eb8633865eb5b2be1f7c94883 (patch)
tree1a42fbc8920ccbe2d8b7647610bbd9fbd1d74854 /tools/perf/scripts/python/bin/export-to-postgresql-record
parent0607e439943bd150e53eed2979f9c69aa61c37ce (diff)
downloadlinux-787ce6d02d95d01eb8633865eb5b2be1f7c94883.tar.gz
linux-787ce6d02d95d01eb8633865eb5b2be1f7c94883.zip
net: sched: use reference counting for tcf blocks on rules update
In order to remove dependency on rtnl lock on rules update path, always take reference to block while using it on rules update path. Change tcf_block_get() error handling to properly release block with reference counting, instead of just destroying it, in order to accommodate potential concurrent users. Signed-off-by: Vlad Buslov <vladbu@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/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions