patch-2.2.4 linux/net/sunrpc/auth.c
Next file: linux/net/sunrpc/auth_null.c
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Mar 22 08:00:15 1999
- Orig file:
v2.2.3/linux/net/sunrpc/auth.c
- Orig date:
Thu Dec 31 10:29:03 1998
diff -u --recursive --new-file v2.2.3/linux/net/sunrpc/auth.c linux/net/sunrpc/auth.c
@@ -175,7 +175,8 @@
if (!cred)
cred = auth->au_ops->crcreate(task);
- rpcauth_insert_credcache(auth, cred);
+ if (cred)
+ rpcauth_insert_credcache(auth, cred);
return (struct rpc_cred *) cred;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)