]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cifs: set correct status of tcon ipc when reconnecting
authorPaulo Alcantara <pc@cjr.nz>
Sun, 18 Dec 2022 00:04:14 +0000 (21:04 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jan 2023 10:15:54 +0000 (11:15 +0100)
commitba6ea757d5f3d4b186ac9e796efddb201d983358
treea0a3ed088e238cc3b8e12a07bd091f25ed089290
parentdffae77c70f9aca70717ecb67932942d7a4ad9c1
cifs: set correct status of tcon ipc when reconnecting

commit 25cf01b7c9200d6ace5a59125d8166435dd9dea7 upstream.

The status of tcon ipcs were not being set to TID_NEED_RECO when
marking sessions and tcons to be reconnected, therefore not sending
tree connect to those ipcs in cifs_tree_connect() and leaving them
disconnected.

Cc: stable@vger.kernel.org
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/connect.c