Came across a couple of race conditions between cifsd and i/o threads. Fixed them here. Please review the changes. This change should also ensure that binding session requests do not race with the primary session request. https://github.com/sprasad-microsoft/smb3-kernel-client/commit/c4ed4d985488640469acfc621bed5c3a55d67ac6.patch -- Regards, Shyam