Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94eaba3f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lpm-stats: cleanup lpm stats processing sanity wrapping"

parents 37694252 ffd9a40f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -680,8 +680,10 @@ static void cleanup_stats(struct lpm_stats *stats)

	centry = &stats->child;
	list_for_each_entry_reverse(pos, centry, sibling) {
		if (!list_empty(&pos->child))
		if (!list_empty(&pos->child)) {
			cleanup_stats(pos);
			continue;
		}

		list_del_init(&pos->child);