]> 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)
commitb4786e416bd8c12c8a26dc5c05b86ac8ef9e9a62
tree7f46bb241c98b63f6c386a7de523a23d58e2be71
parent4764e99deee460568d59e6c88fcf402440c6a616
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: a4be2d2b404b9 ("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