commit | cba9ba4b902270c22f8b9c5149a284216b633fc1 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Tue Jun 01 11:21:40 2010 -0400 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Thu Jun 24 12:24:55 2010 -0400 |
tree | 8d51f4f169e25113a319e794afe130de53db4ca2 | |
parent | ac94bf582529343bb7f354d0eef6dc4e566bbbd5 [diff] |
nfsd4: fix delegation recall race use-after-free When the rarely-used callback-connection-changing setclientid occurs simultaneously with a delegation recall, we rerun the recall by requeueing it on a workqueue. But we also need to take a reference on the delegation in that case, since the delegation held by the rpc itself will be released by the rpc_release callback. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>