]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: better reservation of head space for krb5
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 12 May 2014 22:10:58 +0000 (18:10 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 May 2014 21:32:17 +0000 (17:32 -0400)
commit6a320f17a54427a68a34e166a6c6179a148c0e8e
treeb7f200949823f98207aa2d2fd72c112fa3e6ee8e
parent0e2b080da3d2d1d88f34f015cf07b17cad21aef1
nfsd4: better reservation of head space for krb5

RPC_MAX_AUTH_SIZE is scattered around several places.  Better to set it
once in the auth code, where this kind of estimate should be made.  And
while we're at it we can leave it zero when we're not using krb5i or
krb5p.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c
include/linux/sunrpc/svc.h
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/svcauth.c