diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/auth_gss/gss_rpc_upcall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/auth_gss/gss_rpc_upcall.c b/net/sunrpc/auth_gss/gss_rpc_upcall.c index 59eeed43eda2..f0c6a8c78a56 100644 --- a/net/sunrpc/auth_gss/gss_rpc_upcall.c +++ b/net/sunrpc/auth_gss/gss_rpc_upcall.c | |||
@@ -326,6 +326,9 @@ int gssp_accept_sec_context_upcall(struct net *net, | |||
326 | if (data->found_creds && client_name.data != NULL) { | 326 | if (data->found_creds && client_name.data != NULL) { |
327 | char *c; | 327 | char *c; |
328 | 328 | ||
329 | data->creds.cr_raw_principal = kstrndup(client_name.data, | ||
330 | client_name.len, GFP_KERNEL); | ||
331 | |||
329 | data->creds.cr_principal = kstrndup(client_name.data, | 332 | data->creds.cr_principal = kstrndup(client_name.data, |
330 | client_name.len, GFP_KERNEL); | 333 | client_name.len, GFP_KERNEL); |
331 | if (data->creds.cr_principal) { | 334 | if (data->creds.cr_principal) { |