diff options
author | Dinghao Liu <[email protected]> | 2021-08-16 21:14:04 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-08-17 08:27:31 -0700 |
commit | 0a298d133893c72c96e2156ed7cb0f0c4a306a3e (patch) | |
tree | 496f7ce7d00db659d2f37943be759cfb91cf4669 /scripts/bpf_doc.py | |
parent | 276e189f8e4e3cce1634d6bac4ed0d9ca242441b (diff) |
net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
qlcnic_83xx_unlock_flash() is called on all paths after we call
qlcnic_83xx_lock_flash(), except for one error path on failure
of QLCRD32(), which may cause a deadlock. This bug is suggested
by a static analysis tool, please advise.
Fixes: 81d0aeb0a4fff ("qlcnic: flash template based firmware reset recovery")
Signed-off-by: Dinghao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions