Commit d043b5da authored by Paulo Alcantara's avatar Paulo Alcantara Committed by Greg Kroah-Hartman
Browse files

smb: client: avoid unnecessary reconnects when refreshing referrals



[ Upstream commit 242d23ef ]

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: default avatarPaulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Stable-dep-of: 74ebd021 ("cifs: all initializations for tcon should happen in tcon_info_alloc")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 609a617a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment