linux/drivers/infiniband/ulp
Sagi Grimberg c4de4663e0 IB/iser: Fix unload during ep_poll wrong dereference
In case the user unloaded ib_iser while ep_connect is in
progress, we need to destroy the endpoint although ep_disconnect
wasn't invoked (we detect this by the iser conn state != DOWN).
However, if we got an REJECTED/UNREACHABLE CM event we move the
connection state to DOWN which will prevent us from destroying
the endpoint in the module unload stage. Fix this by setting the
connection state to TERMINATING in iser_conn_error so we can still
destroy the endpoint at unload stage.

Reported-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-04-15 16:07:12 -04:00
..
ipoib infiniband/ipoib: implement ndo_get_iflink 2015-04-02 14:05:01 -04:00
iser IB/iser: Fix unload during ep_poll wrong dereference 2015-04-15 16:07:12 -04:00
isert iscsi/iser-target: Support multi-sequence sendtargets text response 2015-02-12 11:24:29 -08:00
srp SCSI for-linus on 20141220 2014-12-20 13:42:57 -08:00
srpt ib_srpt: wait_for_completion_timeout does not return negative status 2015-01-20 15:48:17 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00