]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Report receive errors correctly
authorBart Van Assche <bvanassche@acm.org>
Thu, 10 Oct 2013 11:53:25 +0000 (13:53 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:43:18 +0000 (14:43 -0800)
commitc908c11127c75bf40863403d40dcbf0c63cdb436
tree8b106206f51e379c120ca2e5e32f58706a713dd9
parenta704a33b78803c5e42f1e03c06dcdf92ec00cd1a
IB/srp: Report receive errors correctly

The IB spec does not guarantee that the opcode is available in error
completions.  Hence do not rely on it.  See also commit cd07512d3623
("IB/srp: Introduce srp_handle_qp_err()").

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: <stable@vger.kernel.org> # v3.8
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c