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)
commitcdc3363065aba2711e51019b3d5787f044f8a133
tree5aa0e09bbcf46a06a9270f21ca2aa760a6b9fa5a
parent4511d7c8f440ab13520601141d67d13cb074620a
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