aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/rpcb_clnt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c
index 77af989ecc9c..8cbdc0a2de46 100644
--- a/net/sunrpc/rpcb_clnt.c
+++ b/net/sunrpc/rpcb_clnt.c
@@ -200,10 +200,13 @@ int rpcb_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay)
200 * @vers: RPC version number to bind 200 * @vers: RPC version number to bind
201 * @prot: transport protocol to use to make this request 201 * @prot: transport protocol to use to make this request
202 * 202 *
203 * Return value is the requested advertised port number,
204 * or a negative errno value.
205 *
203 * Called from outside the RPC client in a synchronous task context. 206 * Called from outside the RPC client in a synchronous task context.
204 * Uses default timeout parameters specified by underlying transport. 207 * Uses default timeout parameters specified by underlying transport.
205 * 208 *
206 * XXX: Needs to support IPv6, and rpcbind versions 3 and 4 209 * XXX: Needs to support IPv6
207 */ 210 */
208int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot) 211int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot)
209{ 212{