IB/iser: Release connection resources on RDMA_CM_EVENT_DEVICE_REMOVAL event
authorErez Zilber <erezz@voltaire.com>
Thu, 17 Apr 2008 04:09:35 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:35 +0000 (21:09 -0700)
commitd97c51707d7d0716881be84ffd2100449852e44b
treeeed3555698bbe9ca771f0703aa45001362555f8c
parent4ff08a76bce3ed5f7d109c646dcfc474d7946213
IB/iser: Release connection resources on RDMA_CM_EVENT_DEVICE_REMOVAL event

When a RDMA_CM_EVENT_DEVICE_REMOVAL event is raised, iSER should
release the connection resources.

This is necessary when the IB HCA module is unloaded while open-iscsi
is still running.  Currently, iSER just BUG()s.

Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/iser/iser_verbs.c