Re: [PATCH 08/12] be2iscsi: Fix MCC WRB leak in open_connection

2016-02-01 Thread Johannes Thumshirn
On Mon, Feb 01, 2016 at 03:42:47PM +0530, Jitendra Bhivare wrote: > 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.

[PATCH 08/12] be2iscsi: Fix MCC WRB leak in open_connection

2016-02-01 Thread Jitendra Bhivare
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 --- drivers/scsi/be2iscsi/be_mgmt.c | 18