rpcbind servers do not require RPC authentication, so AUTH_NULL is all that is needed. This saves a few bytes on the wire, and a bit of computational expense on both ends. Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> --- net/sunrpc/rpcb_clnt.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index beee6da..3083597 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c @@ -141,7 +141,7 @@ static struct rpc_clnt *rpcb_create_local(struct sockaddr *addr, .servername = "localhost", .program = &rpcb_program, .version = version, - .authflavor = RPC_AUTH_UNIX, + .authflavor = RPC_AUTH_NULL, .flags = RPC_CLNT_CREATE_NOPING, }; @@ -158,7 +158,7 @@ static struct rpc_clnt *rpcb_create(char *hostname, struct sockaddr *srvaddr, .servername = hostname, .program = &rpcb_program, .version = version, - .authflavor = RPC_AUTH_UNIX, + .authflavor = RPC_AUTH_NULL, .flags = (RPC_CLNT_CREATE_NOPING | RPC_CLNT_CREATE_NONPRIVPORT), }; -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html