cifs: force interface update before a fresh session setup
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 30 Oct 2023 11:00:11 +0000 (11:00 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 2 Nov 2023 13:06:06 +0000 (08:06 -0500)
commitd9a6d78096056a3cb5c5f07a730ab92f2f9ac4e6
treebd105fb79ded12f7b2e8f4f1fef131ad28587446
parent6e5e64c9477d58e73cb1a0e83eacad1f8df247cf
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/smb/client/connect.c