Commit e589adf
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: afc6649 ("eth: iavf: extend the netdev_lock usage")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 06ea2c9 commit e589adf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2903 | 2903 | | |
2904 | 2904 | | |
2905 | 2905 | | |
2906 | | - | |
2907 | 2906 | | |
| 2907 | + | |
2908 | 2908 | | |
2909 | 2909 | | |
2910 | 2910 | | |
| |||
0 commit comments