Skip to content
Commit 0fa757b5 authored by Steve French's avatar Steve French
Browse files

smb3: prevent races updating CurrentMid



There was one place where we weren't locking CurrentMid, and although
likely to be safe since even without the lock since it is during
negotiate protocol, it is more consistent to lock it in this last remaining
place, and avoids confusing Coverity warning.

Addresses-Coverity: 1486665 ("Data race condition")
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 0060a4f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment