summaryrefslogtreecommitdiff
path: root/fs/cifs/sess.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2022-06-22 20:36:36 +0300
committerSteve French <stfrench@microsoft.com>2022-06-23 03:46:53 +0300
commit9de74996a739bf0b7b5d8c260bd207ad6007442b (patch)
tree3cb4df78e33a5f24bc1f66d6a9f49838b3ae16fb /fs/cifs/sess.c
parent73130a7b1ac92c9f30e0a255951129f4851c5794 (diff)
downloadlinux-9de74996a739bf0b7b5d8c260bd207ad6007442b.tar.xz
smb3: use netname when available 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). The previous patch fixed that by avoiding incorrectly sending the netname context when there would be a null hostname sent in the netname context, while this patch fixes the null hostname for the secondary channel by using the hostname of the primary channel for the secondary channel. Fixes: 4c14d7043fede ("cifs: populate empty hostnames for extra channels") Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/sess.c')
0 files changed, 0 insertions, 0 deletions