android_kernel_xiaomi_sm7250/net/sunrpc/xprtrdma
Colin Ian King 4103bc54d8 xprtrdma: fix incorrect header size calculations
commit 912288442cb2f431bf3c8cb097a5de83bc6dbac1 upstream.

Currently the header size calculations are using an assignment
operator instead of a += operator when accumulating the header
size leading to incorrect sizes.  Fix this by using the correct
operator.

Addresses-Coverity: ("Unused value")
Fixes: 302d3deb20 ("xprtrdma: Prevent inline overflow")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
[bwh: Backported to 4.19: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-25 11:49:18 +02:00
..
backchannel.c
fmr_ops.c
frwr_ops.c
Makefile
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-30 11:25:59 +01:00
rpc_rdma.c xprtrdma: fix incorrect header size calculations 2022-06-25 11:49:18 +02:00
svc_rdma_backchannel.c svcrdma: disable timeouts on rdma backchannel 2021-03-24 11:07:33 +01:00
svc_rdma_recvfrom.c svcrdma: Fix another Receive buffer leak 2020-08-26 10:31:01 +02:00
svc_rdma_rw.c
svc_rdma_sendto.c svcrdma: fix bounce buffers for unaligned offsets and multiple pages 2020-10-30 10:38:22 +01:00
svc_rdma_transport.c
svc_rdma.c
transport.c SUNRPC/call_alloc: async tasks mustn't block waiting for memory 2022-04-15 14:15:03 +02:00
verbs.c
xprt_rdma.h