From e09a99ca511212c07c884106024f5f716b39d0f1 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Thu, 18 Apr 2013 10:49:09 +0800 Subject: [PATCH] --- yaml --- r: 372216 b: refs/heads/master c: 1eb6d6223aaac87538a0e9aa0d30980df224914c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/sunrpc/auth_gss/svcauth_gss.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 79d65a48e7f1..0a327b24252c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2a6cf944c2f8ad5a7ef599ed275b85fa56eba3fc +refs/heads/master: 1eb6d6223aaac87538a0e9aa0d30980df224914c diff --git a/trunk/net/sunrpc/auth_gss/svcauth_gss.c b/trunk/net/sunrpc/auth_gss/svcauth_gss.c index b70ac1cec8f5..b1924e53e8c7 100644 --- a/trunk/net/sunrpc/auth_gss/svcauth_gss.c +++ b/trunk/net/sunrpc/auth_gss/svcauth_gss.c @@ -506,8 +506,10 @@ static int rsc_parse(struct cache_detail *cd, len = qword_get(&mesg, buf, mlen); if (len > 0) { rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL); - if (!rsci.cred.cr_principal) + if (!rsci.cred.cr_principal) { + status = -ENOMEM; goto out; + } } }