From: Trond Myklebust Date: Fri, 18 Dec 2009 21:28:05 +0000 (-0500) Subject: SUNRPC: Fix up an error return value in gss_import_sec_context_kerberos() X-Git-Tag: v2.6.33-rc4~72^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14ace024b1e16d2bb9445c8387494fbbd820a738;p=pandora-kernel.git SUNRPC: Fix up an error return value in gss_import_sec_context_kerberos() If the context allocation fails, the function currently returns a random error code, since the variable 'p' still points to a valid memory location. Ensure that it returns ENOMEM... Cc: stable@kernel.org Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed