-
- Downloads
cifs: set DFS root session in cifs_get_smb_ses()
commit b56bce50 upstream. Set the DFS root session pointer earlier when creating a new SMB session to prevent racing with smb2_reconnect(), cifs_reconnect_tcon() and DFS cache refresher. Signed-off-by:Paulo Alcantara (SUSE) <pc@manguebit.com> Cc: stable@vger.kernel.org # 6.2 Signed-off-by:
Steve French <stfrench@microsoft.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- fs/cifs/cifs_dfs_ref.c 1 addition, 0 deletionsfs/cifs/cifs_dfs_ref.c
- fs/cifs/cifsglob.h 0 additions, 1 deletionfs/cifs/cifsglob.h
- fs/cifs/connect.c 1 addition, 0 deletionsfs/cifs/connect.c
- fs/cifs/dfs.c 8 additions, 11 deletionsfs/cifs/dfs.c
- fs/cifs/dfs.h 2 additions, 1 deletionfs/cifs/dfs.h
- fs/cifs/fs_context.h 1 addition, 0 deletionsfs/cifs/fs_context.h
Loading
Please register or sign in to comment