WSL2-Linux-Kernel/drivers/infiniband/sw
Xiao Yang 9262f0ce3c RDMA/rxe: Generate a completion for unsupported/invalid opcode
commit 2f917af777 upstream.

Current rxe_requester() doesn't generate a completion when processing an
unsupported/invalid opcode. If rxe driver doesn't support a new opcode
(e.g. RDMA Atomic Write) and RDMA library supports it, an application
using the new opcode can reproduce this issue. Fix the issue by calling
"goto err;".

Fixes: 8700e3e7c4 ("Soft RoCE driver")
Link: https://lore.kernel.org/r/20220410113513.27537-1-yangx.jy@fujitsu.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:23:31 +02:00
..
rdmavt IB/rdmavt: add missing locks in rvt_ruc_loopback 2022-06-09 10:22:40 +02:00
rxe RDMA/rxe: Generate a completion for unsupported/invalid opcode 2022-06-09 10:23:31 +02:00
siw RDMA/siw: Fix a condition race issue in MPA request processing 2022-05-12 12:30:14 +02:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00