diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-06-01 17:21:40 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-06-24 18:24:55 +0200 |
commit | cba9ba4b902270c22f8b9c5149a284216b633fc1 (patch) | |
tree | 8d51f4f169e25113a319e794afe130de53db4ca2 /net/sunrpc/cache.c | |
parent | nfsd4: fix deleg leak on callback error (diff) | |
download | linux-cba9ba4b902270c22f8b9c5149a284216b633fc1.tar.xz linux-cba9ba4b902270c22f8b9c5149a284216b633fc1.zip |
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>
Diffstat (limited to 'net/sunrpc/cache.c')
0 files changed, 0 insertions, 0 deletions