android_kernel_xiaomi_sm8350/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
..
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
Kconfig
Makefile