linux_dsm_epyc7002/drivers/infiniband/ulp/iser
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
..
iscsi_iser.c IB/iser: DIX update 2014-12-15 18:11:46 -08:00
iscsi_iser.h IB/iser: Use correct dma direction when unmapping SGs 2015-02-13 11:27:31 -08:00
iser_initiator.c IB/iser: Fix memory regions possible leak 2015-02-17 12:32:46 -08:00
iser_memory.c IB/iser: Use correct dma direction when unmapping SGs 2015-02-13 11:27:31 -08:00
iser_verbs.c IB/iser: Fix unload during ep_poll wrong dereference 2015-04-15 16:07:12 -04:00
Kconfig
Makefile