From 2b0812cd5089d4828bbdb5ad747f38dedbb44adf Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 14 Jan 2008 15:12:01 -0500 Subject: [PATCH] --- yaml --- r: 79671 b: refs/heads/master c: 67d60213627ec4391cc402bf95753eefde8522af h: refs/heads/master i: 79669: b2e3cfc122831959d1e04ea8c79833a87a5c9c75 79667: 0547d4db6939c8c2052f879c70ab699b8328ea39 79663: a7bc4d60edba1c35ab9e24a1bed5fe87484a50c8 v: v3 --- [refs] | 2 +- trunk/net/sunrpc/rpcb_clnt.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9b46d2de0583..94ef6254fbe7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f1ec08cb9492cab579f85f9d937c79788b1dfde3 +refs/heads/master: 67d60213627ec4391cc402bf95753eefde8522af diff --git a/trunk/net/sunrpc/rpcb_clnt.c b/trunk/net/sunrpc/rpcb_clnt.c index 77af989ecc9c..8cbdc0a2de46 100644 --- a/trunk/net/sunrpc/rpcb_clnt.c +++ b/trunk/net/sunrpc/rpcb_clnt.c @@ -200,10 +200,13 @@ int rpcb_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay) * @vers: RPC version number to bind * @prot: transport protocol to use to make this request * + * Return value is the requested advertised port number, + * or a negative errno value. + * * Called from outside the RPC client in a synchronous task context. * Uses default timeout parameters specified by underlying transport. * - * XXX: Needs to support IPv6, and rpcbind versions 3 and 4 + * XXX: Needs to support IPv6 */ int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot) {