]> git.baikalelectronics.ru Git - 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)
committerSteve French <stfrench@microsoft.com>
Fri, 28 Dec 2018 16:13:11 +0000 (10:13 -0600)
commit618cc1b93f819825244647ea68af03cd2bd7b11a
tree0c6b6495cbf7e30c3f7716234acd7f80cc821548
parentb9e96fb55539d56c9fbd36960771ea7254b8b06b
cifs: Always resolve hostname before reconnecting

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>
fs/cifs/connect.c