aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorNeil Horman <nhorman@redhat.com>2015-07-21 09:55:35 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-22 21:14:08 -0700
commit52b1660d3b3a7fc967ba9d9b641b594fa1ac33d7 (patch)
treeecd450d685359310bee2569ae203c6a129689d5a /tools/perf/scripts/python/bin/export-to-postgresql-report
parentstaging: rtl8723au: fix incorrect type in assignment warning (diff)
staging: unisys: Remove num_visornic_open array
As pointed out in a recent review, the num_visornic_open array didn't do anything useful, and it exposed a potential race in the visornic code that could arise while taking down a net interface while reading from the debugfs files. Fix that by removing the array entirely, and just iterating over all the registered netdevs in a given namespace, filtering on them having visornic ops (to identify which are ours), and having their queues not be stopped (identifying that they are up). This should prevent any oops conditions happening due to changing state in that array, and save us a bunch of code too. Signed-off-by: Neil Horman <nhorman@redhat.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions