]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitcd4e38542a5c2cab94e5410fb17c1cc004a60792
tree8b106206f51e379c120ca2e5e32f58706a713dd9
parent99b6697a50c2acbe3ca2772d359fc9a28835dc84
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 948d1e889e5b
("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