diff options
author | Maria Matejka <mq@ucw.cz> | 2022-04-04 22:34:14 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-04-06 18:14:08 +0200 |
commit | 7e86ff2076f3046c6dcca53e7756f112362aeee9 (patch) | |
tree | 0ae2e3ff87f37704af0c244e14fa116d1df238e7 /nest/rt-table.c | |
parent | dabd7bccb3b9e2b7482cf4ae7619a67559f3ac94 (diff) |
All linpools use pages to allocate regular blocks
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 1885e602..fbfdb1e6 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -3410,7 +3410,7 @@ rt_init_hostcache(rtable *tab) hc_alloc_table(hc, tab->rp, HC_DEF_ORDER); hc->slab = sl_new(tab->rp, sizeof(struct hostentry)); - hc->lp = lp_new(tab->rp, LP_GOOD_SIZE(1024)); + hc->lp = lp_new(tab->rp); hc->trie = f_new_trie(hc->lp, 0); tab->hostcache = hc; |