summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd_dif.c
diff options
context:
space:
mode:
authorJitendra Bhivare <jitendra.bhivare@broadcom.com>2016-02-04 15:49:16 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2016-02-23 21:27:02 -0500
commit291fef26e0f85bd2c1f7152138fc3459e7a00ea1 (patch)
tree433e666244370df5be7df093ec75721b9bc6a6f6 /drivers/scsi/sd_dif.c
parentc448427b96ed1a71700728a67323e3e5c76563d2 (diff)
downloadlinux-stable-291fef26e0f85bd2c1f7152138fc3459e7a00ea1.tar.gz
linux-stable-291fef26e0f85bd2c1f7152138fc3459e7a00ea1.tar.bz2
linux-stable-291fef26e0f85bd2c1f7152138fc3459e7a00ea1.zip
be2iscsi: Fix MCC WRB leak in open_connection
In open with IP of unknown address family, only tag is freed and error returned. MCC WRB allocated for the operation is not freed. Added check for supported family of IP in the beginning before allocating the tag and WRB. Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd_dif.c')
0 files changed, 0 insertions, 0 deletions