linux/drivers/infiniband/ulp/iser
Roi Dayan 5b61ff43a7 IB/iser: Fix device removal flow
Change the code to destroy the "last opened" rdma_cm id after making
sure we released all other objects (QP, CQs, PD, etc) associated with
the IB device.

Since iser accesses the IB device using the rdma_cm id, we need to
free any objects that are related to the device that is associated
with the rdma_cm id prior to destroying that id.  When this isn't
done, the low level driver that created this device can be unloaded
before iser has a chance to free all the objects and a such a call may
invoke code segment which isn't valid any more and crash.

Cc: Sean Hefty <sean.hefty@intel.com
Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-06-04 17:03:11 -07:00
..
iscsi_iser.c IB/iser: Move informational messages from error to info level 2013-05-01 17:34:13 -07:00
iscsi_iser.h IB/iser: Add support for iser CM REQ additional info 2013-05-01 17:34:14 -07:00
iser_initiator.c IB/iser: Post initial receive buffers before sending the final login request 2012-03-05 08:53:05 -08:00
iser_memory.c IB/iser: Return error to upper layers on EAGAIN registration failures 2013-05-01 17:34:13 -07:00
iser_verbs.c IB/iser: Fix device removal flow 2013-06-04 17:03:11 -07:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00