]> asedeno.scripts.mit.edu Git - linux.git/commit
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)
committerDoug Ledford <dledford@redhat.com>
Tue, 6 Nov 2018 21:25:04 +0000 (16:25 -0500)
commite48d8ed9c6193502d849b35767fd18e20bbd7ba2
tree59bb790eb4460de2ef2c3faa3c19be35d36b1559
parent4e588c8d034dacaefc247a1c7af50b345c60a3dd
rxe: fix error completion wr_id and qp_num

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>
drivers/infiniband/sw/rxe/rxe_resp.c