From 05d47bd53e71480f1b276bd895f1c25088201e48 Mon Sep 17 00:00:00 2001 From: Jan Moskyto Matejka Date: Tue, 16 May 2017 14:31:16 +0200 Subject: Linpool: default allocation size --- sysdep/linux/netlink.c | 2 +- sysdep/unix/krt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdep') diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index 083a8d90..8f44b007 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -1906,7 +1906,7 @@ nl_open_async(void) void krt_sys_io_init(void) { - nl_linpool = lp_new(krt_pool, 4080); + nl_linpool = lp_new_default(krt_pool); HASH_INIT(nl_table_map, krt_pool, 6); } diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index a1b10cea..f0241777 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -75,7 +75,7 @@ void krt_io_init(void) { krt_pool = rp_new(&root_pool, "Kernel Syncer"); - krt_filter_lp = lp_new(krt_pool, 4080); + krt_filter_lp = lp_new_default(krt_pool); init_list(&krt_proto_list); krt_sys_io_init(); } -- cgit v1.2.3