linux_old1/drivers/infiniband/ulp/iser
Dan Carpenter 9fda1ac5fa IB/iser: Fix error flow in iser_create_ib_conn_res()
We shouldn't free things here because we free them later.
The call tree looks like this:
	iser_connect() ==> initiating the connection establishment
and later
	iser_cma_handler() => iser_route_handler() => iser_create_ib_conn_res()
if we fail here, eventually iser_conn_release() is called, resulting
in a double free.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-05-12 09:30:45 -07:00
..
Kconfig IB/iser: Add dependency on INFINIBAND_ADDR_TRANS 2009-01-12 19:30:41 -08:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00
iscsi_iser.c IB/iser: Enhance disconnection logic for multi-pathing 2010-05-12 09:30:44 -07:00
iscsi_iser.h IB/iser: Enhance disconnection logic for multi-pathing 2010-05-12 09:30:44 -07:00
iser_initiator.c IB/iser: Remove redundant locking from iser scsi command response flow 2010-02-24 09:41:14 -08:00
iser_memory.c IB/iser: Use atomic allocations 2010-02-24 09:41:12 -08:00
iser_verbs.c IB/iser: Fix error flow in iser_create_ib_conn_res() 2010-05-12 09:30:45 -07:00