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:Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by:
Ryan Bair <ryandbair@gmail.com> Signed-off-by:
Steve French <stfrench@microsoft.com>
Showing
Please register or sign in to comment