]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - fs/nfsd/nfs4proc.c
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)
commita5cddc885b99458df963a75abbe0b40cbef56c48
treeb7f200949823f98207aa2d2fd72c112fa3e6ee8e
parentd05d5744ef67879877dbe2e3d0fb9fcc27ee44e5
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