]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: force new session setup and tcon for dfs
authorPaulo Alcantara <pc@cjr.nz>
Fri, 1 Apr 2022 16:51:34 +0000 (13:51 -0300)
committerSteve French <stfrench@microsoft.com>
Tue, 5 Apr 2022 03:39:21 +0000 (22:39 -0500)
commit1aba8e323b240ec29dd8ad26f28c929b609b5620
tree405b706252ed92676a1bd5379dda8f2f3089e7ea
parentdedabb58777afa5605959124aadace796050f19d
cifs: force new session setup and tcon for dfs

Do not reuse existing sessions and tcons in DFS failover as it might
connect to different servers and shares.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c