mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 03:03:02 +01:00
Changelog: ============ -Create the pruning task in the dns_cache_flush(), so the cache pruning still works after the flush. -Improve the TTL-based cleaning by removing the expired headers from the heap, so they don't block the next cleaning round and clean more than a single item for each new addition to the RBTDB. -Revert change 6319 and decrease lock contention during RBTDB tree pruning by not cleaning up nodes recursively within a single prune_tree() call. -Address use after free in expire_lru_headers. (From OE-Core rev: 5b3ba5f021f3bd532238dad57772c8416da61c14) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 17cecd0d9d0d734d408701d861692ca5987f4ad9) Signed-off-by: Steve Sakoman <steve@sakoman.com>