aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2013-12-17 01:51:22 -0800
committerNicholas Bellinger <[email protected]>2013-12-19 14:50:17 -0800
commitdcd211997ddba3229e875f5990ea14f920934729 (patch)
treebdd54eb2023c9d05ce97d2ea9377d2c20a2672af /lib/mpi/mpi-cmp.c
parentde06875f089678f4f9f1e8d5e1421fb0ceab12d0 (diff)
qla2xxx: Fix scsi_host leak on qlt_lport_register callback failure
This patch fixes a possible scsi_host reference leak in qlt_lport_register(), when a non zero return from the passed (*callback) does not call drop the local reference via scsi_host_put() before returning. This currently does not effect existing tcm_qla2xxx code as the passed callback will never fail, but fix this up regardless for future code. Cc: Chad Dupuis <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions