commit | a351e40b6de550049423a26f7ded7b639e363d89 | [log] [tgz] |
---|---|---|
author | Varun Prakash <varun@chelsio.com> | Wed May 17 20:30:43 2017 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu May 18 21:37:27 2017 -0400 |
tree | b15bb3bc32b9721c0425115b5166ae3d7fc1ccab | |
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>