Skip to content
Commit d3b331fb authored by Ryan Bair's avatar Ryan Bair Committed by Steve French
Browse files

cifs: fix workstation_name for multiuser mounts



Set workstation_name from the master_tcon for multiuser mounts.

Just in case, protect size_of_ntlmssp_blob against a NULL workstation_name.

Fixes: 49bd49f9 ("cifs: send workstation name during ntlmssp session setup")
Cc: stable@vger.kernel.org # 5.16
Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: default avatarRyan Bair <ryandbair@gmail.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 40c845c1
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