projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba630f
)
svcrdma: Clear xpt_bc_xps in xprt_setup_rdma_bc() error exit arm
author
Chuck Lever
<chuck.lever@oracle.com>
Tue, 29 Nov 2016 16:04:26 +0000
(11:04 -0500)
committer
J. Bruce Fields
<bfields@redhat.com>
Wed, 30 Nov 2016 22:31:11 +0000
(17:31 -0500)
Logic copied from xs_setup_bc_tcp().
Fixes:
39a9beab5acb
('rpc: share one xps between all backchannels')
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c
b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c
index
20027f8
..
6035c5a
100644
(file)
--- a/
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
+++ b/
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
@@
-359,6
+359,7
@@
xprt_setup_rdma_bc(struct xprt_create *args)
out_fail:
xprt_rdma_free_addresses(xprt);
args->bc_xprt->xpt_bc_xprt = NULL;
+ args->bc_xprt->xpt_bc_xps = NULL;
xprt_put(xprt);
xprt_free(xprt);
return ERR_PTR(-EINVAL);