diff options
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | 2016-02-04 15:49:16 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
commit | 291fef26e0f85bd2c1f7152138fc3459e7a00ea1 (patch) | |
tree | 433e666244370df5be7df093ec75721b9bc6a6f6 /drivers/scsi/fcoe | |
parent | c448427b96ed1a71700728a67323e3e5c76563d2 (diff) | |
download | linux-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/fcoe')
0 files changed, 0 insertions, 0 deletions