Files
systemd/src
Daan De Meyer ee8f605ded network/tc: Avoid concurrent set modification in tclass_drop()/qdisc_drop()
With the current algorithm, we can end up removing entries from the
qdisc/tclass sets while having multiple open iterators over the sets at
various positions which leads to assertion failures in the hashmap logic
as it's only safe to remove the "current" entry.

To avoid the problem, let's split up marking and dropping of tclasses
and qdiscs. First, we recursively iterate tclasses/qdiscs and mark all
that need to be removed. Next, we iterate once over tclasses and qdiscs
and remove all marked entries.

Fixes 632d321050
2024-05-01 16:15:20 +02:00
..
2024-05-01 15:58:20 +09:00
2024-04-18 17:39:34 +02:00
2024-04-29 22:56:49 +02:00
2024-04-25 17:06:43 +02:00
2024-04-25 17:06:43 +02:00
2024-04-18 17:39:34 +02:00
2024-04-18 17:39:34 +02:00