linux/net/sunrpc/auth_gss
J. Bruce Fields 87d918d667 rpc: gss: fix a kmap_atomic race in krb5 code
This code is never called from interrupt context; it's always run by either
a user thread or rpciod.  So KM_SKB_SUNRPC_DATA is inappropriate here.

Thanks to Aimé Le Rouzic for capturing an oops which showed the kernel
taking an interrupt while we were in this piece of code, resulting in a
nested kmap_atomic(.,KM_SKB_SUNRPC_DATA) call from
xdr_partial_copy_from_skb().

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-12-06 10:46:43 -05:00
..
Makefile RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. 2005-10-18 23:19:46 -07:00
auth_gss.c rpc: gss: eliminate print_hexl()'s 2006-12-06 10:46:43 -05:00
gss_generic_token.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gss_krb5_crypto.c rpc: gss: eliminate print_hexl()'s 2006-12-06 10:46:43 -05:00
gss_krb5_mech.c [SUNRPC]: Use k{mem,str}dup where applicable 2006-12-02 21:30:20 -08:00
gss_krb5_seal.c rpc: gss: eliminate print_hexl()'s 2006-12-06 10:46:43 -05:00
gss_krb5_seqnum.c [SUNRPC] GSS: Use block ciphers where applicable 2006-09-21 11:46:15 +10:00
gss_krb5_unseal.c SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum 2006-03-20 23:23:11 -05:00
gss_krb5_wrap.c rpc: gss: fix a kmap_atomic race in krb5 code 2006-12-06 10:46:43 -05:00
gss_mech_switch.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
gss_spkm3_mech.c [SUNRPC]: Use k{mem,str}dup where applicable 2006-12-02 21:30:20 -08:00
gss_spkm3_seal.c SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum 2006-03-20 23:23:11 -05:00
gss_spkm3_token.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
gss_spkm3_unseal.c rpc: gss: eliminate print_hexl()'s 2006-12-06 10:46:43 -05:00
svcauth_gss.c [SUNRPC]: Use k{mem,str}dup where applicable 2006-12-02 21:30:20 -08:00