diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-13 10:09:27 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:46 +0900 |
| commit | f495154703cbcc0050cfd53469bd56965791616b (patch) | |
| tree | 61ba9f4ca5cc61beaf375786df4fce6ac01a8d10 /tools/perf/scripts/python | |
| parent | 125c471ca9c954ab171cb02035f8a05baf04404a (diff) | |
ksmbd: retain connection for pending notify work
Deferred CHANGE_NOTIFY work keeps an async message ID after the original
request work is released. A durable handle can outlive its connection, so
the connection teardown can destroy its async IDA before the handle close
releases the pending notify work.
Give the synthetic deferred work a connection reference. Release it after
the async ID in ksmbd_free_work_struct(). This keeps the async IDA alive
until the deferred work is released, even when the original connection has
already left the connection list.
During server shutdown there is no client to receive a cleanup response.
Skip the write and only release the pending work.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
