diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2022-06-06 12:52:46 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-06-11 02:55:02 +0300 |
commit | 4c14d7043fede258957d7b01da0cad2d9fe3a205 (patch) | |
tree | 9dd0bce5348d8d287c1005c55d2131d04a66a556 /fs/cifs/misc.c | |
parent | 8ea21823aa584b55ba4b861307093b78054b0c1b (diff) | |
download | linux-4c14d7043fede258957d7b01da0cad2d9fe3a205.tar.xz |
cifs: populate empty hostnames for extra channels
Currently, the secondary channels of a multichannel session
also get hostname populated based on the info in primary channel.
However, this will end up with a wrong resolution of hostname to
IP address during reconnect.
This change fixes this by not populating hostname info for all
secondary channels.
Fixes: 5112d80c162f ("cifs: populate server_hostname for extra channels")
Cc: stable@vger.kernel.org
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/misc.c')
0 files changed, 0 insertions, 0 deletions