]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: fix empty netname context on secondary channels
authorSteve French <stfrench@microsoft.com>
Sat, 18 Jun 2022 22:24:23 +0000 (17:24 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Jun 2022 21:23:50 +0000 (16:23 -0500)
commitcc725151f99047fad528ed95273410040a5ab99e
tree7f46bb241c98b63f6c386a7de523a23d58e2be71
parent08aafa0d475a08e31a13403e9df41c7179f4bdcd
smb3: fix empty netname context on secondary channels

Some servers do not allow null netname contexts, which would cause
multichannel to revert to single channel when mounting to some
servers (e.g. Azure xSMB).

Fixes: 260d5aec9f512 ("cifs: populate empty hostnames for extra channels")
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c