Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fccbd9c authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

sunrpc: server back channel needs no rpcbind method



XPRT_BOUND is set on server backchannel xprts by xs_setup_bc_tcp()
(using xprt_set_bound()), and is never cleared, so ->rpcbind() will
never need to be called.

Reported-by: default avatar"Myklebust, Trond" <Trond.Myklebust@netapp.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 18032ca0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2534,7 +2534,6 @@ static struct rpc_xprt_ops bc_tcp_ops = {
	.reserve_xprt		= xprt_reserve_xprt,
	.release_xprt		= xprt_release_xprt,
	.alloc_slot		= xprt_alloc_slot,
	.rpcbind		= xs_local_rpcbind,
	.buf_alloc		= bc_malloc,
	.buf_free		= bc_free,
	.send_request		= bc_send_request,