summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2021-03-12 19:50:17 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-13 04:44:10 +0300
commit86927c9c4d4e59b75a680f1e7922dca717cba24d (patch)
treef8a97afa35d53e618ffb38af2bf37d0b998a3dcf /tools/perf/scripts/python/export-to-sqlite.py
parentb202923d3a93296c2e2627eee0222dfef3606777 (diff)
downloadlinux-86927c9c4d4e59b75a680f1e7922dca717cba24d.tar.xz
netdevsim: fib: Introduce a lock to guard nexthop hashtable
Currently netdevsim relies on RTNL to maintain exclusivity in accessing the nexthop hash table. However, bucket notification may be called without RTNL having been held. Instead, introduce a custom lock to guard the table. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions