smb: client: avoid unnecessary reconnects when refreshing referrals
authorPaulo Alcantara <pc@manguebit.com>
Wed, 18 Sep 2024 05:03:35 +0000 (02:03 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 25 Sep 2024 02:51:47 +0000 (21:51 -0500)
commit242d23efc987151ecd34bc0cae4c0b737494fc40
tree4178c0ce10c1110db8f0416c1d7c3c642a067067
parent4e0373f1f920811a67fef0c3383f1ad602b3845e
smb: client: avoid unnecessary reconnects when refreshing referrals

Do not mark tcons for reconnect when current connection matches any of
the targets returned by new referral even when there is no cached
entry.

Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/dfs_cache.c