diff options
author | Pan Bian <bianpan2016@163.com> | 2019-11-06 20:32:21 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-11-19 21:37:34 -0500 |
commit | 29d28f2b8d3736ac61c28ef7e20fda63795b74d9 (patch) | |
tree | e5d6474ce133a15a5f279097e07695eb924fa52d /scripts/gdb/linux/config.py | |
parent | 5a993e507ee65a28eca6690ee11868555c4ca46b (diff) |
scsi: bnx2i: fix potential use after free
The member hba->pcidev may be used after its reference is dropped. Move the
put function to where it is never used to avoid potential use after free
issues.
Fixes: a77171806515 ("[SCSI] bnx2i: Removed the reference to the netdev->base_addr")
Link: https://lore.kernel.org/r/1573043541-19126-1-git-send-email-bianpan2016@163.com
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions