]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitf47bfde862de7e5e7bfe00031510e1e88534b08e
treefbc98af07d1bd0aeef1164de2f7fe7ed248f9402
parent6bd03a8877b29ac845213e4bc6632ac816c9a68c
rxe: fix error completion wr_id and qp_num

BugLink: https://bugs.launchpad.net/bugs/1837477
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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/infiniband/sw/rxe/rxe_resp.c