summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-18 22:28:05 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-18 22:28:05 +0100
commit14ace024b1e16d2bb9445c8387494fbbd820a738 (patch)
treeaff02ba8b2f86894cea54ab308c28e9cc04fe979 /net/sched
parentLinux 2.6.33-rc1 (diff)
downloadlinux-14ace024b1e16d2bb9445c8387494fbbd820a738.tar.xz
linux-14ace024b1e16d2bb9445c8387494fbbd820a738.zip
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions