Skip to content
Snippets Groups Projects

No Default Nsec3 Tree

Merged Ghost User requested to merge no_default_nsec3_tree into master

Two parts:

  • Growable hash node size in trie
  • NSEC3 tree created only if needed (NULL is treated as an empty tree)
    • I'm not sure if I did the zone-diff stuff right? :suspect:

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
241 241 * as well. Set to 0 otherwise.
242 242 */
243 243 void knot_zone_tree_deep_free(knot_zone_tree_t **tree);
244
245 void hattrie_insert_dname(hattrie_t *tr, knot_dname_t *dname);
246 knot_dname_t *hattrie_get_dname(hattrie_t *tr, knot_dname_t *dname);
  • Author Contributor

    Looks good, merging.

  • Ghost User
    Ghost User @ghost started a thread on commit 07317eb3
  • 45 return NULL;
    46 assert(!(len & (CPU_PAGE_SIZE-1)));
    47 uint8_t *p = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
    48 if (p == (uint8_t*) MAP_FAILED)
    49 return NULL;
    50 return p;
    51 }
    52
    53 static void
    54 page_free(void *start, uint64_t len)
    55 {
    56 assert(!(len & (CPU_PAGE_SIZE-1)));
    57 assert(!((uintptr_t) start & (CPU_PAGE_SIZE-1)));
    58 munmap(start, len);
    59 }
    60 #endif
  • Author Contributor

    Looks good, merging.

  • Please register or sign in to reply
    Loading