diff options
author | 2020-04-19 23:53:52 -0400 | |
---|---|---|
committer | 2020-04-19 23:53:52 -0400 | |
commit | 4d8948c7334a970eab113a4bcf45b1920a5a1625 (patch) | |
tree | d0884ad10deb4cd34a09209548923ab5a1e94cd7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFS/pnfs: Ensure that _pnfs_return_layout() waits for layoutreturn completion (diff) | |
download | wireguard-linux-4d8948c7334a970eab113a4bcf45b1920a5a1625.tar.xz wireguard-linux-4d8948c7334a970eab113a4bcf45b1920a5a1625.zip |
NFS/pnfs: Fix a credential use-after-free issue in pnfs_roc()
If the credential returned by pnfs_prepare_layoutreturn()
does not match the credential of the RPC call, then we do
end up calling pnfs_send_layoutreturn() with that credential,
so don't free it!
Fixes: 44ea8dfce021 ("NFS/pnfs: Reference the layout cred in pnfs_prepare_layoutreturn()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions