linux/net/sunrpc/xprtrdma
Chuck Lever 2d97f46376 xprtrdma: Use re_connect_status safely in rpcrdma_xprt_connect()
Clean up: Sometimes creating a fresh rpcrdma_ep can fail. That's why
xprt_rdma_connect() always checks if the r_xprt->rx_ep pointer is
valid before dereferencing it. Instead, xprt_rdma_connect() can
simply check rpcrdma_xprt_connect()'s return value.

Also, there's no need to set re_connect_status to zero just after
the rpcrdma_ep is created, since it is allocated with kzalloc.

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 xprtrdma: kmalloc rpcrdma_ep separate from rpcrdma_xprt 2020-03-27 10:47:25 -04:00
frwr_ops.c xprtrdma: kmalloc rpcrdma_ep separate from rpcrdma_xprt 2020-03-27 10:47:25 -04:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c SUNRPC: receive buffer size estimation values almost never change 2020-06-11 13:33:47 -04:00
svc_rdma.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
svc_rdma_backchannel.c svcrdma: Remove backchannel dprintk call sites 2020-05-18 10:21:21 -04:00
svc_rdma_recvfrom.c svcrdma: Rename tracepoints that record header decoding errors 2020-05-18 10:21:21 -04:00
svc_rdma_rw.c svcrdma: trace undersized Write chunks 2020-05-18 10:21:21 -04:00
svc_rdma_sendto.c SUNRPC: Move xpt_mutex into socket xpo_sendto methods 2020-05-18 10:21:21 -04:00
svc_rdma_transport.c SUNRPC: Trace a few more generic svc_xprt events 2020-05-18 10:21:22 -04:00
transport.c xprtrdma: Use re_connect_status safely in rpcrdma_xprt_connect() 2020-06-22 09:34:35 -04:00
verbs.c xprtrdma: Use re_connect_status safely in rpcrdma_xprt_connect() 2020-06-22 09:34:35 -04:00
xprt_rdma.h xprtrdma: kmalloc rpcrdma_ep separate from rpcrdma_xprt 2020-03-27 10:47:25 -04:00