RDMA/rxe: Set wqe->status correctly if an unexpected response is received
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 26 Jun 2018 15:39:36 +0000 (08:39 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 8 Aug 2018 15:57:30 +0000 (09:57 -0600)
commit61b717d041b1976530f68f8b539b2e3a7dd8e39c
treea634d324abf904f86e22271c4740a9af8948d588
parent2e51e45cf613491a2bd9d757f04e36d8617be5ac
RDMA/rxe: Set wqe->status correctly if an unexpected response is received

Every function that returns COMPST_ERROR must set wqe->status to another
value than IB_WC_SUCCESS before returning COMPST_ERROR. Fix the only code
path for which this is not yet the case.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_comp.c