diff options
| author | 2008-02-20 14:02:47 -0500 | |
|---|---|---|
| committer | 2008-04-23 16:13:39 -0400 | |
| commit | 164f98adbbd50c67177b096a59f55c1a56a45c82 (patch) | |
| tree | baa47455b18219eca8ff4a54a84954170597fa06 /tools/perf/scripts/python | |
| parent | sunrpc: GSS integrity and decryption failures should return GARBAGE_ARGS (diff) | |
lockd: fix race in nlm_release()
The sm_count is decremented to zero but left on the nsm_handles list.
So in the space between decrementing sm_count and acquiring nsm_mutex,
it is possible for another task to find this nsm_handle, increment the
use count and then enter nsm_release itself.
Thus there's nothing to prevent the nsm being freed before we acquire
nsm_mutex here.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
