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

Skip to content
Commit 863e39ba authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

Actually clear all DNS stats on resolver changes

Previously, we were clearing the stats for the first resolver 4 times
in a loop :-)

Also:
 - Factor revision_id bumping into res_cache_clear_stats_locked()
   because it must be done every time.
 - Delete redundant stats clearing in free_nameservers_locked()

Test: atest (but tests don't actually detect this bug)
Change-Id: I770a99fd6666bb269bc4c7355e06ca24095ed6ee
parent f1e707cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment