diff options
author | Paul Aurich <paul@darkrain42.org> | 2024-11-26 18:50:31 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-11-26 23:35:34 -0600 |
commit | c353ee4fb119a2582d0e011f66a76a38f5cf984d (patch) | |
tree | aa728ae856a52b6d1964a4683311b32a142a9885 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 3fa640d035e5ae526769615c35cb9ed4be6e3662 (diff) |
smb: Initialize cfid->tcon before performing network ops
Avoid leaking a tcon ref when a lease break races with opening the
cached directory. Processing the leak break might take a reference to
the tcon in cached_dir_lease_break() and then fail to release the ref in
cached_dir_offload_close, since cfid->tcon is still NULL.
Fixes: ebe98f1447bb ("cifs: enable caching of directories for which a lease is held")
Signed-off-by: Paul Aurich <paul@darkrain42.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions