This is a note to let you know that I've just added the patch titled fs: dlm: fix missing pending to false to the 6.4-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: fs-dlm-fix-missing-pending-to-false.patch and it can be found in the queue-6.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From f68bb23cad1f128198074ed7b3a4c5fb03dbd9d2 Mon Sep 17 00:00:00 2001 From: Alexander Aring <aahringo@xxxxxxxxxx> Date: Mon, 29 May 2023 17:44:31 -0400 Subject: fs: dlm: fix missing pending to false From: Alexander Aring <aahringo@xxxxxxxxxx> commit f68bb23cad1f128198074ed7b3a4c5fb03dbd9d2 upstream. This patch sets the process_dlm_messages_pending boolean to false when there was no message to process. It is a case which should not happen but if we are prepared to recover from this situation by setting pending boolean to false. Cc: stable@xxxxxxxxxxxxxxx Fixes: dbb751ffab0b ("fs: dlm: parallelize lowcomms socket handling") Signed-off-by: Alexander Aring <aahringo@xxxxxxxxxx> Signed-off-by: David Teigland <teigland@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/dlm/lowcomms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 3d3802c47b8b..5aad4d4842eb 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -898,6 +898,7 @@ static void process_dlm_messages(struct work_struct *work) pentry = list_first_entry_or_null(&processqueue, struct processqueue_entry, list); if (WARN_ON_ONCE(!pentry)) { + process_dlm_messages_pending = false; spin_unlock(&processqueue_lock); return; } -- 2.41.0 Patches currently in stable-queue which might be from aahringo@xxxxxxxxxx are queue-6.4/fs-dlm-return-positive-pid-value-for-f_getlk.patch queue-6.4/fs-dlm-fix-cleanup-pending-ops-when-interrupted.patch queue-6.4/fs-dlm-make-f_setlk-use-unkillable-wait_event.patch queue-6.4/fs-dlm-revert-check-required-context-while-close.patch queue-6.4/fs-dlm-fix-missing-pending-to-false.patch queue-6.4/fs-dlm-fix-mismatch-of-plock-results-from-userspace.patch queue-6.4/fs-dlm-clear-pending-bit-when-queue-was-empty.patch queue-6.4/fs-dlm-interrupt-posix-locks-only-when-process-is-killed.patch