linux/fs/nfsd
J. Bruce Fields 39307655a1 nfsd4: fix security flavor of NFSv4.0 callback
Commit d5497fc693 "nfsd4: move rq_flavor
into svc_cred" forgot to remove cl_flavor from the client, leaving two
places (cl_flavor and cl_cred.cr_flavor) for the flavor to be stored.
After that patch, the latter was the one that was updated, but the
former was the one that the callback used.

Symptoms were a long delay on utime().  This is because the utime()
generated a setattr which recalled a delegation, but the cb_recall was
ignored by the client because it had the wrong security flavor.

Cc: stable@vger.kernel.org
Tested-by: Jamie Heilman <jamie@audible.transient.net>
Reported-by: Jamie Heilman <jamie@audible.transient.net>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2012-08-20 18:38:36 -04:00
..
acl.h
auth.c
auth.h
cache.h
current_stateid.h
export.c SUNRPC: service request network namespace helper introduced 2012-07-27 16:49:21 -04:00
fault_inject.c
fault_inject.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h NFSd: make boot_time variable per network namespace 2012-07-27 16:49:22 -04:00
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4acl.c
nfs4callback.c nfsd4: fix security flavor of NFSv4.0 callback 2012-08-20 18:38:36 -04:00
nfs4idmap.c SUNRPC: service request network namespace helper introduced 2012-07-27 16:49:21 -04:00
nfs4proc.c LockD: pass actual network namespace to grace period management functions 2012-07-27 16:49:22 -04:00
nfs4recover.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfs4state.c NFSd: make boot_time variable per network namespace 2012-07-27 16:49:22 -04:00
nfs4xdr.c
nfscache.c
nfsctl.c
nfsd.h
nfsfh.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfsfh.h
nfsproc.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfssvc.c
nfsxdr.c
state.h nfsd4: fix security flavor of NFSv4.0 callback 2012-08-20 18:38:36 -04:00
stats.c
vfs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
vfs.h nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
xdr3.h
xdr4.h
xdr.h