summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-02-06 20:51:08 +0300
committerJakub Kicinski <kuba@kernel.org>2025-02-12 05:02:04 +0300
commite589adf5b70c07b1ab974d077046fdbf583b2f36 (patch)
tree6e115238688744b8764078955a823ab347156f91 /lib/mpi/mpi-inline.c
parent06ea2c9c4163b8a8fde890a9e21d1059f22bb76d (diff)
downloadlinux-e589adf5b70c07b1ab974d077046fdbf583b2f36.tar.xz
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 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions