]> err.no Git - linux-2.6/commit
sunrpc: return error if unsupported enctype or cksumtype is encountered
authorKevin Coffman <kwc@citi.umich.edu>
Fri, 9 Nov 2007 23:42:09 +0000 (18:42 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 17 Nov 2007 18:08:46 +0000 (13:08 -0500)
commitef338bee3f4f509e82066e100f76fecbbbbc4cca
tree833662511977c31a81374ee1627be950d59fafd2
parentffc40f569272b6be60c66441aeae79a686ff54d9
sunrpc: return error if unsupported enctype or cksumtype is encountered

Return an error from gss_import_sec_context_kerberos if the
negotiated context contains encryption or checksum types not
supported by the kernel code.

This fixes an Oops because success was assumed and later code found
no internal_ctx_id.

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/gss_krb5_mech.c
net/sunrpc/auth_gss/gss_krb5_seal.c