diff options
author | Varun Prakash <varun@chelsio.com> | 2017-05-17 20:30:43 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-05-18 21:37:27 -0400 |
commit | a351e40b6de550049423a26f7ded7b639e363d89 (patch) | |
tree | b15bb3bc32b9721c0425115b5166ae3d7fc1ccab /arch | |
parent | 463f620b1256e0488d932088e04a372817e8c42e (diff) |
scsi: csiostor: fix use after free in csio_hw_use_fwconfig()
mbp pointer is passed to csio_hw_validate_caps() so call mempool_free()
after calling csio_hw_validate_caps().
Signed-off-by: Varun Prakash <varun@chelsio.com>
Fixes: 541c571fa2fd ("csiostor:Use firmware version from cxgb4/t4fw_version.h")
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions