]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 28 May 2014 18:53:11 +0000 (14:53 -0400)
commitadd221765e4085e0f12dcf3cebfc48243a92b4bc
treeacae65059d5ad6cdbcaa5e6a59b8edb025d52434
parent5b72f2b99c9f850d9b6f842819a6fdbc7d724367
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