]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Add TIMEWAIT_EXIT event handling
authorRoi Dayan <roid@mellanox.com>
Thu, 31 Jul 2014 10:27:45 +0000 (13:27 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 1 Aug 2014 22:10:04 +0000 (15:10 -0700)
commit0f09fd0824a2ef3589561f606fb13c364db01cb8
tree36456e8de954afaf08f139fd2a5402522c45815d
parentcc4fe819f76e07bfa9f1a63190c32d166fd6abe9
IB/iser: Add TIMEWAIT_EXIT event handling

In case the DISCONNECTED event is not delivered after rdma_disconnect
is called, the CM waits TIMEWAIT seconds and delivers the
TIMEWAIT_EXIT local event. We use this as the notification needed to
continue in the teardown and release sequence.

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