sunrpc: GFP_KERNEL should be GFP_NOFS in crypto code
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 26 Oct 2016 20:03:00 +0000 (16:03 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 1 Nov 2016 19:47:52 +0000 (15:47 -0400)
commit56094edd17971372c7fea078ab41315ebf6214d0
treedd4ca931333a551db756e4ce82a06b398c770cc4
parente864c189e1d63f2f6a052e296f0da0616d88b625
sunrpc: GFP_KERNEL should be GFP_NOFS in crypto code

Writes may depend on the auth_gss crypto code, so we shouldn't be
allocating with GFP_KERNEL there.

This still leaves some crypto_alloc_* calls which end up doing
GFP_KERNEL allocations in the crypto code.  Those could probably done at
crypto import time.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_krb5_mech.c