]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cifs: On cifs_reconnect, resolve the hostname again.
authorShyam Prasad N <sprasad@microsoft.com>
Wed, 31 Mar 2021 14:35:24 +0000 (14:35 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 8 Apr 2021 02:29:36 +0000 (21:29 -0500)
commit4e456b30f78c429b183db420e23b26cde7e03a78
tree9814bd639a5b7fe1cafa7d6f06ef7d45caa19bd8
parente49d033bddf5b565044e2abe4241353959bc9120
cifs: On cifs_reconnect, resolve the hostname again.

On cifs_reconnect, make sure that DNS resolution happens again.
It could be the cause of connection to go dead in the first place.

This also contains the fix for a build issue identified by Intel bot.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: <stable@vger.kernel.org> # 5.11+
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/Kconfig
fs/cifs/Makefile
fs/cifs/connect.c