This is a note to let you know that I've just added the patch titled cifs: set correct status of tcon ipc when reconnecting to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: cifs-set-correct-status-of-tcon-ipc-when-reconnecting.patch and it can be found in the queue-6.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 25cf01b7c9200d6ace5a59125d8166435dd9dea7 Mon Sep 17 00:00:00 2001 From: Paulo Alcantara <pc@xxxxxx> Date: Sat, 17 Dec 2022 21:04:14 -0300 Subject: cifs: set correct status of tcon ipc when reconnecting From: Paulo Alcantara <pc@xxxxxx> 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@xxxxxxxxxxxxxxx Signed-off-by: Paulo Alcantara (SUSE) <pc@xxxxxx> Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/cifs/connect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -279,8 +279,10 @@ cifs_mark_tcp_ses_conns_for_reconnect(st tcon->need_reconnect = true; tcon->status = TID_NEED_RECON; } - if (ses->tcon_ipc) + if (ses->tcon_ipc) { ses->tcon_ipc->need_reconnect = true; + ses->tcon_ipc->status = TID_NEED_RECON; + } next_session: spin_unlock(&ses->chan_lock); Patches currently in stable-queue which might be from pc@xxxxxx are queue-6.1/cifs-fix-missing-display-of-three-mount-options.patch queue-6.1/cifs-set-correct-status-of-tcon-ipc-when-reconnecting.patch queue-6.1/cifs-set-correct-ipc-status-after-initial-tree-connect.patch queue-6.1/cifs-fix-confusing-debug-message.patch queue-6.1/cifs-set-correct-tcon-status-after-initial-tree-connect.patch