]> www.infradead.org Git - users/dwmw2/linux.git/commit
smb: client: don't retry DFS targets on server shutdown
authorPaulo Alcantara <pc@manguebit.com>
Mon, 13 Jan 2025 22:00:29 +0000 (19:00 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Jan 2025 01:34:00 +0000 (19:34 -0600)
commit48aa99523e88e5792edc007e0c7f89faffacc5f7
tree8275841719664a1cbb974a3313b75ce8eeae1f73
parentbfc1155030151912e7c5426449c7703dad45a890
smb: client: don't retry DFS targets on server shutdown

If TCP Server is about to be destroyed (e.g. CifsExiting was set) and
it is reconnecting, stop retrying DFS targets from cached DFS referral
as this would potentially delay server shutdown in several seconds.

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