]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: do not share tcp servers with dfs mounts
authorPaulo Alcantara <pc@cjr.nz>
Fri, 4 Jun 2021 22:25:33 +0000 (19:25 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 21 Jun 2021 02:28:17 +0000 (21:28 -0500)
commit04f7a908db47097337d989bbf52f60f837b65dbf
treef27f88539bb38f7c80cdd3cd812a6886294e3d13
parentaeeb2b0f926fa987bbc93c80be6845ab1e4c1b0f
cifs: do not share tcp servers with dfs mounts

It isn't enough to have unshared tcons because multiple DFS mounts can
connect to same target server and failover to different servers, so we
can't use a single tcp server for such cases.

For the simplest solution, use nosharesock option to achieve that.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c