]> 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)
commit0eb8dc4b28396c3a20fffdf237621c95de66686c
tree405b706252ed92676a1bd5379dda8f2f3089e7ea
parent0fec553e5f13481cb27a3f96b3ce1548fd5b4e8c
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