IB/iser: Release the iscsi endpoint if ep_disconnect wasn't called
authorAriel Nahum <arieln@mellanox.com>
Sun, 18 Jan 2015 14:51:07 +0000 (16:51 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 17 Feb 2015 20:33:14 +0000 (12:33 -0800)
In some cases, we might reach the iser connection termination without
ep_disconnect being invoked (for example if user-space daemon doesn't
exists. In this case, we need to free the iscsi endpoint when we
remove the iser connection.

Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_verbs.c