linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever 2acc5cae29 xprtrdma: Prevent dereferencing r_xprt->rx_ep after it is freed
r_xprt->rx_ep is known to be good while the transport's send lock is
held.  Otherwise additional references on rx_ep must be held when it
is used outside of that lock's critical sections.

For now, bump the rx_ep reference count once whenever there is at
least one outstanding Receive WR. This avoids the memory bandwidth
overhead of taking and releasing the reference count for every
ib_post_recv() and Receive completion.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-06-22 09:34:35 -04:00
..
backchannel.c
frwr_ops.c
Makefile
module.c
rpc_rdma.c
svc_rdma_backchannel.c
svc_rdma_recvfrom.c
svc_rdma_rw.c
svc_rdma_sendto.c
svc_rdma_transport.c
svc_rdma.c
transport.c xprtrdma: Make xprt_rdma_slot_table_entries static 2020-06-11 13:33:48 -04:00
verbs.c xprtrdma: Prevent dereferencing r_xprt->rx_ep after it is freed 2020-06-22 09:34:35 -04:00
xprt_rdma.h