Files
systemd/src/shared
dongshengyuan 1d410b0dc9 dns-rr: invalidate wire format after changing ttl
dns_resource_record_clamp_ttl() may patch the TTL in place when the
record has a single reference. dnssec_fix_rrset_ttl() also updates TTLs
after canonical wire-format data may have been cached.

If a record already has cached wire-format data, that cache still
contains the old TTL and dns_resource_record_to_wire_format() will keep
reusing it.

Add a small helper to clear the cached wire-format state, and use it
whenever the TTL changes. This makes subsequent serialization match the
record fields.

Signed-off-by: dongshengyuan <dongshengyuan@uniontech.com>
(cherry picked from commit ccae5c7a4f)
(cherry picked from commit b82a9f9f53)
(cherry picked from commit 03e94e2650)
2026-07-23 23:03:24 +01:00
..
2025-11-09 18:13:44 +09:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-11-22 09:42:41 +09:00
2025-11-25 17:34:48 +01:00
2025-11-15 07:44:24 +01:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2026-02-06 14:29:10 +00:00
2026-02-06 14:29:10 +00:00