diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-04-24 21:35:43 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-05-03 14:32:31 +0200 |
commit | 26c0c75e69265961e891ed80b38fb62a548ab371 (patch) | |
tree | 1ecbc767a1b2ad3e8f25d88e918076806d8c2eb1 /init/version.c | |
parent | nfsd4: fix filehandle comment (diff) | |
download | linux-26c0c75e69265961e891ed80b38fb62a548ab371.tar.xz linux-26c0c75e69265961e891ed80b38fb62a548ab371.zip |
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>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions