diff options
| author | Stefan Assmann <[email protected]> | 2021-08-24 10:06:39 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-10-06 16:49:34 +0000 |
| commit | 54ee39439acd9f8b161703c6ad4f4e1835585277 (patch) | |
| tree | 93db707f465fba18bf00fb527ab47bdeb5371be3 /net/unix/af_unix.c | |
| parent | i40e: Fix freeing of uninitialized misc IRQ vector (diff) | |
| download | kernel-54ee39439acd9f8b161703c6ad4f4e1835585277.tar.gz kernel-54ee39439acd9f8b161703c6ad4f4e1835585277.zip | |
iavf: fix double unlock of crit_lock
The crit_lock mutex could be unlocked twice as reported here
https://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20210823/025525.html
Remove the superfluous unlock. Technically the problem was already
present before 5ac49f3c2702 as that commit only replaced the locking
primitive, but no functional change.
Reported-by: Dan Carpenter <[email protected]>
Fixes: 5ac49f3c2702 ("iavf: use mutexes for locking of critical sections")
Fixes: bac8486116b0 ("iavf: Refactor the watchdog state machine")
Signed-off-by: Stefan Assmann <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
