diff options
Diffstat (limited to 'kernel/net/sunrpc/auth_gss/gss_rpc_xdr.c')
-rw-r--r-- | kernel/net/sunrpc/auth_gss/gss_rpc_xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/sunrpc/auth_gss/gss_rpc_xdr.c b/kernel/net/sunrpc/auth_gss/gss_rpc_xdr.c index eeeba5ade..2410d557a 100644 --- a/kernel/net/sunrpc/auth_gss/gss_rpc_xdr.c +++ b/kernel/net/sunrpc/auth_gss/gss_rpc_xdr.c @@ -260,7 +260,7 @@ static int gssx_dec_option_array(struct xdr_stream *xdr, if (!oa->data) return -ENOMEM; - creds = kmalloc(sizeof(struct svc_cred), GFP_KERNEL); + creds = kzalloc(sizeof(struct svc_cred), GFP_KERNEL); if (!creds) { kfree(oa->data); return -ENOMEM; |