Commit 26080014 authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust

SUNRPC: switch the RPC server to use the new rpcbind registration API

Eventually this interface will support versions 3 and 4 of the rpcbind
protocol, which will allow the Linux RPC server to register services on
IPv6 addresses.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent e9b1c9c9
...@@ -757,7 +757,7 @@ svc_register(struct svc_serv *serv, int proto, unsigned short port) ...@@ -757,7 +757,7 @@ svc_register(struct svc_serv *serv, int proto, unsigned short port)
if (progp->pg_vers[i]->vs_hidden) if (progp->pg_vers[i]->vs_hidden)
continue; continue;
error = rpc_register(progp->pg_prog, i, proto, port, &dummy); error = rpcb_register(progp->pg_prog, i, proto, port, &dummy);
if (error < 0) if (error < 0)
break; break;
if (port && !dummy) { if (port && !dummy) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment