Files
CKI KWF Bot 008088aea9 Merge: dlm: fix add msg handle in send_queue ordered
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/8202

JIRA: https://redhat.atlassian.net/browse/RHEL-169808
Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git
Conflicts: upstream uses atomics for seq

In rare cases the send_queue is not ordered according the seq because multiple message from concurrent dlm lock requests can be triggered.
If the send_queue is not ordered according to seq we can run into reference counting issues because a list_for_each() assumes this list is being ordered.

Signed-off-by: Alexander Aring <aahringo@redhat.com>

Approved-by: David Teigland <teigland@redhat.com>
Approved-by: Andrew Price <anprice@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-07-14 20:54:11 +00:00
..
2023-12-05 17:57:45 -07:00