diff --git a/doc/Changelog b/doc/Changelog index 4cec01bc3..332482ac7 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +9 January 2017: Wouter + - Fix #1202: Fix code comment that packed_rrset_data is not always + 'packed'. + 6 January 2017: Wouter - Fix #1201: Fix missing unlock in answer_from_cache error condition. diff --git a/util/data/packed_rrset.h b/util/data/packed_rrset.h index 6039aef24..e95605445 100644 --- a/util/data/packed_rrset.h +++ b/util/data/packed_rrset.h @@ -191,6 +191,12 @@ enum sec_status { * RRset data. * * The data is packed, stored contiguously in memory. + * + * It is not always stored contiguously, in that case, an unpacked-packed + * rrset has the arrays separate. A bunch of routines work on that, but + * the packed rrset that is contiguous is for the rrset-cache and the + * cache-response routines in daemon/worker.c. + * * memory layout: * o base struct * o rr_len size_t array