dns: fix recursive locking 92/43292/2
authorBenoît Ganne <[email protected]>
Wed, 25 Jun 2025 14:39:54 +0000 (16:39 +0200)
committerFan Zhang <[email protected]>
Thu, 26 Jun 2025 19:32:12 +0000 (19:32 +0000)
commit87557a38778f4d87c44b476efb896337dd8241e7
treece3673ce1b5d0bbfbf80031d7b8debb4ebdd49f0
parent784410190eb96fa8dea9fa67a086aa0044fe9025
dns: fix recursive locking

All callers to delete_random_entry() are already holding the lock to
the DNS cache. Thanks to Rain for the report.

Type: fix

Change-Id: Id051427016f9b7444b812019ccc0f5085fd3e469
Signed-off-by: Benoît Ganne <[email protected]>
src/plugins/dns/dns.c