]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: do not share tcp sessions of dfs connections
authorPaulo Alcantara <pc@cjr.nz>
Fri, 16 Jul 2021 00:53:53 +0000 (21:53 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 16 Jul 2021 05:21:47 +0000 (00:21 -0500)
commita6c8e6778d5845347fb6de88ddb7bb7963716c67
tree5aa0e09bbcf46a06a9270f21ca2aa760a6b9fa5a
parent48936b914d137aa50ef8120c11000230bd6951b7
cifs: do not share tcp sessions of dfs connections

Make sure that we do not share tcp sessions of dfs mounts when
mounting regular shares that connect to same server.  DFS connections
rely on a single instance of tcp in order to do failover properly in
cifs_reconnect().

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c