aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r--net/sunrpc/rpcb_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c
index 6d6a84f67449..7c6fac004447 100644
--- a/net/sunrpc/rpcb_clnt.c
+++ b/net/sunrpc/rpcb_clnt.c
@@ -934,7 +934,7 @@ static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr,
934 dprintk("RPC: %5u RPCB_%s reply: %s\n", task->tk_pid, 934 dprintk("RPC: %5u RPCB_%s reply: %s\n", task->tk_pid,
935 task->tk_msg.rpc_proc->p_name, (char *)p); 935 task->tk_msg.rpc_proc->p_name, (char *)p);
936 936
937 if (rpc_uaddr2sockaddr((char *)p, len, sap, sizeof(address)) == 0) 937 if (rpc_uaddr2sockaddr(&init_net, (char *)p, len, sap, sizeof(address)) == 0)
938 goto out_fail; 938 goto out_fail;
939 rpcb->r_port = rpc_get_port(sap); 939 rpcb->r_port = rpc_get_port(sap);
940 940