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

smb: client: fix DFS interlink failover



[ Upstream commit 4f42a8b5 ]

The DFS interlinks point to different DFS namespaces so make sure to
use the correct DFS root server to chase any DFS links under it by
storing the SMB session in dfs_ref_walk structure and then using it on
every referral walk.

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 d043b5da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment