]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cifs: Always resolve hostname before reconnecting
authorPaulo Alcantara <paulo@paulo.ac>
Tue, 20 Nov 2018 17:16:36 +0000 (15:16 -0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit5fa65527bc559920139e4cac72734b588fc9e432
tree8af54c33072348c737fedadf89eb7ac6969eb89a
parent71c10b4a20cf15313cdaa9381ff66a264eee0c00
cifs: Always resolve hostname before reconnecting

BugLink: https://bugs.launchpad.net/bugs/1837664
commit 28eb24ff75c5ac130eb326b3b4d0dcecfc0f427d upstream.

In case a hostname resolves to a different IP address (e.g. long
running mounts), make sure to resolve it every time prior to calling
generic_ip_connect() in reconnect.

Suggested-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Paulo Alcantara <palcantara@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/cifs/connect.c