summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-03-23 15:25:03 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-03-26 11:49:48 -0400
commit92769108f5382a0bdb4c35eb80c183fb7797cfae (patch)
tree8a3b8d9a2e7e23536fbcd374592341e968d2a1af /net
parente9541ce8efc22c233a045f091c2b969923709038 (diff)
downloadop-kernel-dev-92769108f5382a0bdb4c35eb80c183fb7797cfae.zip
op-kernel-dev-92769108f5382a0bdb4c35eb80c183fb7797cfae.tar.gz
sunrpc: skip portmap calls on sessions backchannel
There's obviously no point to doing portmap calls over the sessions backchannel. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprtsock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 92bc518..890b03f 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -2475,6 +2475,7 @@ static struct rpc_xprt_ops xs_tcp_ops = {
static struct rpc_xprt_ops bc_tcp_ops = {
.reserve_xprt = xprt_reserve_xprt,
.release_xprt = xprt_release_xprt,
+ .rpcbind = xs_local_rpcbind,
.buf_alloc = bc_malloc,
.buf_free = bc_free,
.send_request = bc_send_request,
OpenPOWER on IntegriCloud