diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-02-21 17:18:00 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-04 06:03:31 +0800 |
commit | 21290853f60c7ca205c5860d059f240f2655ea65 (patch) | |
tree | 0e61ff55a7e38304a4c1bd1a5ea6d3f1ecf8dd67 /lib/memory-notifier-error-inject.c | |
parent | 988eda029beb3475704c6bc99709f805cd3c768c (diff) |
IB/srp: Avoid sending a task management function needlessly
commit 3780d1f08856f692116bcf026e4acf1c521df1c7 upstream.
Do not send a task management function if sending will fail anyway
because either there is no RDMA/RC connection or the QP is in the
error state.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dave@thedillows.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions