Ryan Bair d3b331fb51 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>
2022-02-03 00:16:37 -06:00
..
2021-06-20 21:28:17 -05:00
2022-01-19 23:14:34 -06:00
2020-06-01 00:10:18 -05:00
2022-01-19 11:21:08 -06:00
2022-01-19 11:21:08 -06:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00