2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 11:13:58 +08:00
linux-next/fs/nfsd
J. Bruce Fields 26c0c75e69 nfsd4: fix unlikely race in session replay case
In the replay case, the

	renew_client(session->se_client);

happens after we've droppped the sessionid_lock, and without holding a
reference on the session; so there's nothing preventing the session
being freed before we get here.

Thanks to Benny Halevy for catching a bug in an earlier version of this
patch.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Acked-by: Benny Halevy <bhalevy@panasas.com>
2010-05-03 08:32:31 -04:00
..
auth.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
auth.h nfsd: minor fs/nfsd/auth.h cleanup 2008-02-01 16:42:05 -05:00
cache.h nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
export.c nfsd: potential ERR_PTR dereference on exp_export() error paths. 2010-04-22 12:03:02 -04:00
Kconfig nfsd : Define NFSD only when FILE_LOCKING is enabled 2009-03-18 17:30:48 -04:00
lockd.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
Makefile
nfs2acl.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs3acl.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs3proc.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs3xdr.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs4acl.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs4callback.c nfsd4: allow 4.0 clients to change callback path 2010-04-22 11:34:02 -04:00
nfs4idmap.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs4proc.c nfsd4: fix unlikely race in session replay case 2010-05-03 08:32:31 -04:00
nfs4recover.c commit_metadata export operation replacing nfsd_sync_dir 2010-02-20 13:13:44 -08:00
nfs4state.c nfsd4: fix unlikely race in session replay case 2010-05-03 08:32:31 -04:00
nfs4xdr.c nfsd4: fix unlikely race in session replay case 2010-05-03 08:32:31 -04:00
nfscache.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfsctl.c nfsd4: document lease/grace-period limits 2010-03-06 15:02:10 -05:00
nfsd.h nfsd4: allow setting grace period time 2010-03-06 15:02:08 -05:00
nfsfh.c nfsd: fix "insecure" export option 2009-12-20 20:19:51 -08:00
nfsfh.h nfsd: move most of nfsfh.h to fs/nfsd 2009-12-15 15:01:46 -05:00
nfsproc.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfssvc.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfsxdr.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
state.h nfsd4: allow 4.0 clients to change callback path 2010-04-22 11:34:02 -04:00
stats.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
vfs.c nfsd: don't break lease while servicing a COMMIT 2010-03-22 15:37:53 -04:00
vfs.h nfsd: don't break lease while servicing a COMMIT 2010-03-22 15:37:53 -04:00
xdr3.h nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
xdr4.h nfsd4: indentation cleanup 2010-04-19 15:12:51 -04:00
xdr.h nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00