summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-06-02 22:18:25 +0000
committertedu <tedu@openbsd.org>2004-06-02 22:18:25 +0000
commitee36afe8e581c41107a9e95911f99b2e7c9a896c (patch)
tree231dea7f574144e2e02be245753516a8ad9e8b7f
parentrearrange the allocators we provide for general use. (diff)
downloadwireguard-openbsd-ee36afe8e581c41107a9e95911f99b2e7c9a896c.tar.xz
wireguard-openbsd-ee36afe8e581c41107a9e95911f99b2e7c9a896c.zip
tables like to allocate lots of memory at once. use the previous
pool allocator, _nointr. testing/ok beck@ cedric@
-rw-r--r--sys/net/pf_table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_table.c b/sys/net/pf_table.c
index b0794824d14..dc792489434 100644
--- a/sys/net/pf_table.c
+++ b/sys/net/pf_table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_table.c,v 1.53 2004/05/19 17:50:52 dhartmei Exp $ */
+/* $OpenBSD: pf_table.c,v 1.54 2004/06/02 22:18:25 tedu Exp $ */
/*
* Copyright (c) 2002 Cedric Berger
@@ -187,9 +187,9 @@ void
pfr_initialize(void)
{
pool_init(&pfr_ktable_pl, sizeof(struct pfr_ktable), 0, 0, 0,
- "pfrktable", &pool_allocator_nointr);
+ "pfrktable", &pool_allocator_oldnointr);
pool_init(&pfr_kentry_pl, sizeof(struct pfr_kentry), 0, 0, 0,
- "pfrkentry", &pool_allocator_nointr);
+ "pfrkentry", &pool_allocator_oldnointr);
pfr_sin.sin_len = sizeof(pfr_sin);
pfr_sin.sin_family = AF_INET;