cifs: protect access of TCP_Server_Info::{origin,leaf}_fullpath
authorPaulo Alcantara <pc@manguebit.com>
Wed, 26 Apr 2023 16:43:53 +0000 (13:43 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 4 May 2023 04:29:39 +0000 (23:29 -0500)
commit3dc9c433c9dde15477d02b609ccb4328e2adb6dc
treed097b78d406ba5b6324c3e732ce8aebfc6aa4440
parentee20d7c6100752eaf2409d783f4f1449c29ea33d
cifs: protect access of TCP_Server_Info::{origin,leaf}_fullpath

Protect access of TCP_Server_Info::{origin,leaf}_fullpath when
matching DFS connections, and get rid of
TCP_Server_Info::current_fullpath while we're at it.

Cc: stable@vger.kernel.org # v6.2+
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/dfs.c
fs/cifs/dfs.h
fs/cifs/dfs_cache.c