linux-stable/drivers/infiniband
Xiao Yang 567ca2ccc2 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:26:31 +02:00
..
core IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD 2022-04-13 19:27:30 +02:00
hw RDMA/hns: Remove the num_cqc_timer variable 2022-06-09 10:26:31 +02:00
sw RDMA/rxe: Generate a completion for unsupported/invalid opcode 2022-06-09 10:26:31 +02:00
ulp RDMA/rtrs-clt: Do stop and failover outside reconnect work. 2022-04-13 19:27:10 +02:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile