diff options
author | Bart Van Assche <bvanassche@acm.org> | 2025-02-06 09:51:08 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-11 18:02:04 -0800 |
commit | e589adf5b70c07b1ab974d077046fdbf583b2f36 (patch) | |
tree | 6e115238688744b8764078955a823ab347156f91 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06ea2c9c4163b8a8fde890a9e21d1059f22bb76d (diff) |
iavf: Fix a locking bug in an error path
If the netdev lock has been obtained, unlock it before returning.
This bug has been detected by the Clang thread-safety analyzer.
Fixes: afc664987ab3 ("eth: iavf: extend the netdev_lock usage")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20250206175114.1974171-28-bvanassche@acm.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions