- struct rpc_auth *auth;
-
- dprintk("RPC: creating NULL authenticator for client %p\n", clnt);
- if (!(auth = (struct rpc_auth *) kmalloc(sizeof(*auth),GFP_KERNEL)))
- return NULL;
- auth->au_cslack = 4;
- auth->au_rslack = 2;
- auth->au_ops = &authnull_ops;
- auth->au_expire = 1800 * HZ;
- rpcauth_init_credcache(auth);
-
- return (struct rpc_auth *) auth;