bind9/lib
Ondřej Surý 8dd99876b8
Always scan all the slab headers when adding new entry
The existing logic would always scan the headers if:
- adding negative cache entry that's NXDOMAIN or negative RRSIG
- adding positive cache entry
- the type doesn't exist in the node

As the rest is relatively minor - we only delete rrset from resolver
on broken chain and most negative entries don't exist in the case
anyway, it feels like the extra logic to decide whether we should do
full scan or not is just complicating things.

Remove the extra logic and always scan all the slabtop/slabheaders in
the node when adding new entry into the cache.
2025-08-28 19:28:56 +02:00
..
dns Always scan all the slab headers when adding new entry 2025-08-28 19:28:56 +02:00
isc Add and use __attribute__((nonnull)) in dnssec-signzone.c 2025-08-28 16:23:59 +02:00
isccc replace the build system with meson 2025-06-11 10:30:12 +03:00
isccfg Add a new 'servfail-until-ready' configuration option for RPZ 2025-08-22 16:31:17 +00:00
ns Implement '-T slowrpz' named testing option 2025-08-22 16:31:17 +00:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00