rxe: fix error completion wr_id and qp_num
authorSagi Grimberg <sagi@grimberg.me>
Thu, 25 Oct 2018 19:40:57 +0000 (12:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jan 2019 08:51:09 +0000 (09:51 +0100)
commitc03d6b0f9a95ae91f6a83d8133413888f89c7ef3
tree6ea40d1bd33d1976a69fdf0ad272d931a282d211
parent6bf97c01b948a2d4110c3ab19940d01f1c34ce54
rxe: fix error completion wr_id and qp_num

commit e48d8ed9c6193502d849b35767fd18e20bbd7ba2 upstream.

Error completions must still contain a valid wr_id and
qp_num such that the consumer can rely on. Correctly
fill these fields in receive error completions.

Reported-by: Walker Benjamin <benjamin.walker@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Tested-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/sw/rxe/rxe_resp.c