]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1908f1a9db78bbcdaa08c614e2601942ba76c658
treef3bdbad5eb0031dae9a31472f2e97c0aba0428a7
parentf009c2ff644e3d5fd33a15ee295ba13a071dba0d
IB/iser: Release the iscsi endpoint if ep_disconnect wasn't called

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