]> 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)
commit505bd3952f1e6b4a9b0d9b8b08ce69cea41d57dc
tree5aa0e09bbcf46a06a9270f21ca2aa760a6b9fa5a
parente4f104e32c682a52f80a181c2336dfce2907e8a6
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