aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorMaurizio Lombardi <[email protected]>2014-06-19 15:05:00 +0200
committerChristoph Hellwig <[email protected]>2014-06-25 13:29:30 +0200
commit9172b763a776bae644d140748a0352fc67277a4c (patch)
tree8a8c7042552513e090d942d5ddc916aa62bb1f17 /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parent0353e085edb0f11e040cf91e71d831ec07943b20 (diff)
bnx2fc: do not scan uninitialized lists in case of error.
In case of of error, the bnx2fc_cmd_mgr_alloc() function will call the bnx2fc_cmd_mgr_free() to perform the cleanup. The problem is that in one case the latter may try to scan some not-yet initialized lists, resulting in a kernel panic. This patch prevents this from happening by freeing the lists before calling bnx2fc_cmd_mgr_free(). Signed-off-by: Maurizio Lombardi <[email protected]> Acked-by: Eddie Wai <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions