commit | 5dd3177ae5012c1e2ad7a9ffdbd0e0d0de2f60e4 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Aug 24 01:03:05 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 22 23:24:54 2006 -0400 |
tree | 2a8730d6443f6d33e8879cfc323396f9a570b97b | |
parent | 275a082fe9308e710324e26ccb5363c53d8fd45f [diff] [blame] |
NFSv4: Fix a use-after-free issue with the nfs server. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/nfs/nfs4renewd.c b/fs/nfs/nfs4renewd.c index f2c8936..7b6df18 100644 --- a/fs/nfs/nfs4renewd.c +++ b/fs/nfs/nfs4renewd.c
@@ -121,6 +121,7 @@ __FUNCTION__, (timeout + HZ - 1) / HZ); cancel_delayed_work(&clp->cl_renewd); schedule_delayed_work(&clp->cl_renewd, timeout); + set_bit(NFS_CS_RENEWD, &clp->cl_res_state); spin_unlock(&clp->cl_lock); }