diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-15 22:18:59 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 22:38:23 +0900 |
| commit | 5213c368631291eef99f09ae5607b130b2a3d6ac (patch) | |
| tree | 862421710d030c7c33c65021660b01a6b56ea895 /scripts/stackusage | |
| parent | 68f3508e4c36be026f7526e753a9e1bc3ff6bfbb (diff) | |
| download | linux-5213c368631291eef99f09ae5607b130b2a3d6ac.tar.gz linux-5213c368631291eef99f09ae5607b130b2a3d6ac.zip | |
ksmbd: implement SMB2 AppInstanceVersion takeover
BVT_AppInstanceVersion_SMB311_GreaterVersion,
BVT_AppInstanceVersion_SMB311_SameVersion,
BVT_AppInstanceVersion_SMB311_LowerAppInstanceVersionHigh, and
BVT_AppInstanceVersion_SMB311_LowerAppInstanceVersionLow exercise
ordered opens using the same AppInstanceId. ksmbd tracked the
AppInstanceId, but did not parse the version context or enforce the
version ordering, so versioned opens returned incorrect sharing
violations.
Parse and retain the 24-byte AppInstanceVersion context with each open.
Reject a version that is lower than or equal to the active version with
STATUS_FILE_FORCED_CLOSED, reject an unversioned open against a versioned
handle, and close the previous handle for a newer takeover. Do not apply
the takeover check to durable reconnect or replay requests.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
