aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-09-26 14:38:09 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:20:25 -0400
commitbf19aacecbeebccb2c3d150a8bd9416b7dba81fe (patch)
treed41fc5fb58d57387454183b10282bbabb5d4b5d9
parentc7c209730d635226b81e9aeae63b6dc8f445569f (diff)
downloadkernel_samsung_aries-bf19aacecbeebccb2c3d150a8bd9416b7dba81fe.zip
kernel_samsung_aries-bf19aacecbeebccb2c3d150a8bd9416b7dba81fe.tar.gz
kernel_samsung_aries-bf19aacecbeebccb2c3d150a8bd9416b7dba81fe.tar.bz2
nfs: add server port to rpc_pipe info file
On the client, when an alternate server port is specified on the mount commandline, we need to make sure gssd knows about it. Also, on the server side, when we're sending krb5 callbacks to the client, we'll use the same mechanism to let gssd know about the callback port. Thanks to Olga Kornievskaia for testing and for an earlier implementation. Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu> Cc: Olga Kornievskaia <aglo@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--net/sunrpc/rpc_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index ae83ac8..c8433e8 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -329,6 +329,7 @@ rpc_show_info(struct seq_file *m, void *v)
clnt->cl_prog, clnt->cl_vers);
seq_printf(m, "address: %s\n", rpc_peeraddr2str(clnt, RPC_DISPLAY_ADDR));
seq_printf(m, "protocol: %s\n", rpc_peeraddr2str(clnt, RPC_DISPLAY_PROTO));
+ seq_printf(m, "port: %s\n", rpc_peeraddr2str(clnt, RPC_DISPLAY_PORT));
return 0;
}