cifs: do not disable interface polling on failure
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 2 Jun 2025 17:07:17 +0000 (22:37 +0530)
committerSteve French <stfrench@microsoft.com>
Tue, 3 Jun 2025 23:42:48 +0000 (18:42 -0500)
commit42ca547b13a20e7cbb04fbdf8d5f089ac4bb35b7
tree7faf9b97ce52a64b6d4663713c31956aac5e4342
parentb5e3e6e28cf3853566ba5d816f79aba5be579158
cifs: do not disable interface polling on failure

When a server has multichannel enabled, we keep polling the server
for interfaces periodically. However, when this query fails, we
disable the polling. This can be problematic as it takes away the
chance for the server to start advertizing again.

This change reschedules the delayed work, even if the current call
failed. That way, multichannel sessions can recover.

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