commit | d3b331fb51f326d5b5326010bf2b5841bb86cdc6 | [log] [tgz] |
---|---|---|
author | Ryan Bair <ryandbair@gmail.com> | Wed Dec 22 11:04:05 2021 -0500 |
committer | Steve French <stfrench@microsoft.com> | Thu Feb 03 00:16:37 2022 -0600 |
tree | bbbbfff67f0f4f0b29de3ca02cff16f72f34b722 | |
parent | 40c845c176953311c8fc232e977516f7733c64cd [diff] |
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: 49bd49f983b5 ("cifs: send workstation name during ntlmssp session setup") Cc: stable@vger.kernel.org # 5.16 Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Ryan Bair <ryandbair@gmail.com> Signed-off-by: Steve French <stfrench@microsoft.com>