cache: restored kr_cache_insert_rr API
This commit abstracts out stash_rrset from stash_rrarray_entry, and fixes incrementing metrics on actual record insertion. It then resurfaces kr_cache_insert_rr that was deleted in 2.0 using the extracted function. vcunat separated stash_rrset_precond() later during rebase.
Please register or sign in to comment