diff options
author | 2022-02-23 13:38:31 +0100 | |
---|---|---|
committer | 2022-02-25 11:37:07 -0800 | |
commit | e85ff9c631e1bf109ce8428848dfc8e8b0041f48 (patch) | |
tree | 681cb729f2c39247c47b8e3c1e47e7ca1a1bd2a7 /lib/mpi/mpi-sub-ui.c | |
parent | iavf: Fix race in init state (diff) | |
download | wireguard-linux-e85ff9c631e1bf109ce8428848dfc8e8b0041f48.tar.xz wireguard-linux-e85ff9c631e1bf109ce8428848dfc8e8b0041f48.zip |
iavf: Fix deadlock in iavf_reset_task
There exists a missing mutex_unlock call on crit_lock in
iavf_reset_task call path.
Unlock the crit_lock before returning from reset task.
Fixes: 5ac49f3c2702 ("iavf: use mutexes for locking of critical sections")
Signed-off-by: Slawomir Laba <slawomirx.laba@intel.com>
Signed-off-by: Phani Burra <phani.r.burra@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions