]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: sort received events by their seqnum (#37314)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 12 May 2025 14:04:49 +0000 (23:04 +0900)
committerGitHub <noreply@github.com>
Mon, 12 May 2025 14:04:49 +0000 (23:04 +0900)
The kernel sometimes sends uevents in a random order, so previously the
received events were not sorted by their seqnum. We determine which
event is ready for processing by using the assumption that queued events
are sorted by their seqnum. Let's sort the received events before queue
them, to make events processed in a correct ordering.


Trivial merge