cifs: during reconnect, update interface if necessary
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 3 Jan 2022 08:47:30 +0000 (08:47 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 23 Jun 2022 00:51:43 +0000 (19:51 -0500)
commitb54034a73baf9fe31fb3f218c17bd5308a27a1ca
treea8c306d689019511bb823add236c51e65b3b9c6b
parentaa45dadd34e44fcd6a9df4b395bee5b5633b4cec
cifs: during reconnect, update interface if necessary

Going forward, the plan is to periodically query the server
for it's interfaces (when multichannel is enabled).

This change allows checking for inactive interfaces during
reconnect, and reconnect to a new interface if necessary.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/sess.c