Commit e589adf5 authored by Bart Van Assche's avatar Bart Van Assche Committed by Jakub Kicinski
Browse files

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: afc66498 ("eth: iavf: extend the netdev_lock usage")
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20250206175114.1974171-28-bvanassche@acm.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 06ea2c9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment