summaryrefslogtreecommitdiff
path: root/scripts/sbom/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-06-18 21:32:29 +0900
committerSteve French <stfrench@microsoft.com>2026-06-22 20:15:04 -0500
commitdc2264a9efe7b56040b018024d1dfe0b3839d5ae (patch)
treef61c0daeb4e11623d2bb7545bcbb86fe71e18d36 /scripts/sbom/git@git.tavy.me:linux-stable.git
parent752bbd323e779691998920035b6e9417d5a6a78c (diff)
ksmbd: honor SMB2 v2 lease epochs
v2 lease responses should continue from the client supplied epoch. Initialize a new v2 lease from the requested epoch plus one so create responses match the epoch returned by Windows and expected by smbtorture. For a single chained break sequence, increment the epoch only for the first break notification. Follow-up breaks such as RH->R and R->NONE in smb2.lease.v2_breaking3 reuse the same epoch. Record when a waiter slept behind pending_break and let the later truncate/open overwrite break consume that marker to reuse the current epoch instead of assigning a new one. Do not increment the epoch when a same-client, same-key create asks for the already granted RH state. The epoch changes only when the granted lease state changes. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/sbom/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions