commit | d916a8f1b43b358685b1672390ead11f2d3b74c6 | [log] [tgz] |
---|---|---|
author | Ishai Rabinovitz <ishai@mellanox.co.il> | Tue Jul 25 19:54:09 2006 +0300 |
committer | Roland Dreier <rolandd@cisco.com> | Thu Aug 03 09:44:22 2006 -0700 |
tree | 0ba2bd2f211bb95888aa608094610148c5728d3d | |
parent | 75df23e229acab85b704f4603bdf5efdc7960e6a [diff] |
IB/srp: Fix crash in srp_reconnect_target Protect against srp_reset_device() clearing the req_queue while srp_reconnect_target() is in progress (note that state change at the top of srp_reconnect_target() is not sufficient for this since srp_reset_device() ignores the state). 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>