diff options
author | Dai Ngo <dai.ngo@oracle.com> | 2020-10-29 15:07:15 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-11-05 17:25:14 -0500 |
commit | 36e1e5ba90fb3fba6888fae26e4dfc28bf70aaf1 (patch) | |
tree | 3de12eb89f087b9bf73330405a04823f676cb94e /tools/perf/scripts/python/stackcollapse.py | |
parent | 66d60e3ad1e44d42d940767f62bf265f107fb628 (diff) |
NFSD: Fix use-after-free warning when doing inter-server copy
The source file nfsd_file is not constructed the same as other
nfsd_file's via nfsd_file_alloc. nfsd_file_put should not be
called to free the object; nfsd_file_put is not the inverse of
kzalloc, instead kfree is called by nfsd4_do_async_copy when done.
Fixes: ce0887ac96d3 ("NFSD add nfs4 inter ssc to nfsd4_copy")
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions