diff options
author | Ishai Rabinovitz <ishai@mellanox.co.il> | 2006-09-07 15:00:01 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-14 13:51:40 -0700 |
commit | add7afc756eddd5d02fd986d19e6300b3e1a5ae8 (patch) | |
tree | 78b79105cae9166ed194180dc9d6f3c8d4dc8fb3 /lib | |
parent | 63b98080daa35f0d682db04f4fb7ada010888752 (diff) |
IB/srp: Don't schedule reconnect from srp
If there is a problem in the connection, the SCSI mid-layer will
eventually call srp_reset_host(), which will call srp_reconnect(), so
we do not need to schedule a call to srp_reconnect_work() from
srp_completion().
Removing this prevents srp_reset_host() from failing if a reconnect
scheduled from srp_completion() is already in progress, which in turn
was causing crashes as both SCSI midlayer and srp_reconnect() were
cancelling commands.
Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions