linux-brain/drivers/net/ethernet/qlogic/qlcnic
Dinghao Liu 6b70c67849 net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
[ Upstream commit 0a298d133893c72c96e2156ed7cb0f0c4a306a3e ]

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: 81d0aeb0a4 ("qlcnic: flash template based firmware reset recovery")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20210816131405.24024-1-dinghao.liu@zju.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-26 08:36:18 -04:00
..
Makefile
qlcnic.h
qlcnic_83xx_hw.c net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 2021-08-26 08:36:18 -04:00
qlcnic_83xx_hw.h
qlcnic_83xx_init.c qlcnic: fix error return code in qlcnic_83xx_restart_hw() 2020-11-24 13:28:59 +01:00
qlcnic_83xx_vnic.c
qlcnic_ctx.c
qlcnic_dcb.c
qlcnic_dcb.h
qlcnic_ethtool.c qlcnic: Add null check after calling netdev_alloc_skb 2021-05-26 12:05:20 +02:00
qlcnic_hdr.h
qlcnic_hw.c
qlcnic_hw.h
qlcnic_init.c
qlcnic_io.c
qlcnic_main.c qlcnic: Fix an error handling path in 'qlcnic_probe()' 2021-06-23 14:41:25 +02:00
qlcnic_minidump.c net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template 2021-03-30 14:35:25 +02:00
qlcnic_sriov.h
qlcnic_sriov_common.c
qlcnic_sriov_pf.c
qlcnic_sysfs.c