Trond Myklebust 14ace024b1 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>
2009-12-18 16:28:05 -05:00
..
2009-12-16 12:16:41 -05:00
2009-11-25 15:14:13 -08:00
2009-12-15 08:53:25 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-07-12 12:22:34 -07:00
2009-12-17 10:51:40 -05:00