cifs: force interface update before a fresh session setup
authorSteve French <stfrench@microsoft.com>
Fri, 26 Jan 2024 05:47:54 +0000 (23:47 -0600)
committerSteve French <stfrench@microsoft.com>
Sat, 27 Jan 2024 06:14:31 +0000 (00:14 -0600)
commit32d5f4c276c58ac40e8abc758486439d621b330a
tree7a3261cfe3dfcfefe67e05614b5fe6de4a297541
parent9023efa730ad5757b8909a33acd4f0e733385b73
cifs: force interface update before a fresh session setup

During a session reconnect, it is possible that the
server moved to another physical server (happens in case
of Azure files). So at this time, force a query of server
interfaces again (in case of multichannel session), such
that the secondary channels connect to the right
IP addresses (possibly updated now).

Cc: stable@vger.kernel.org
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c