diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-29 21:26:26 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:57 +0900 |
| commit | 16a7f7c2ecf3c893b65f0fb78fa7a7171ae0ba9e (patch) | |
| tree | 5ea0a837a4cb2cc84f3fc991dc7e4e8ad8815bae /tools/perf/scripts/python/netdev-times.py | |
| parent | 054bcca4cd9f00719b01f7108b51a2168fb94f15 (diff) | |
ksmbd: reject blocking compound lock requests
Clients set SMB2_LOCKFLAG_FAIL_IMMEDIATELY when a LOCK request contains
multiple lock elements, and servers reject requests that omit it.
Accepting such a request can leave earlier elements locked while a later
element waits asynchronously, enabling prolonged partial lock ownership
and avoidable deadlocks.
Return STATUS_INVALID_PARAMETER before processing any element when a
multi-element lock request contains a blocking lock. Unlock arrays remain
unaffected.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
