diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-23 00:03:59 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-23 00:03:59 +0000 |
commit | a9d3e7a69a34700f2394f6b6fd3ca7dd312b27bf (patch) | |
tree | d96542f98a06465534307b04b2e4007ee2728550 /sys/net/pf.c | |
parent | dd33d3c6768eaafbd12c4ae456908588ff5deba1 (diff) |
Pools that are only used in the ioctls can use the nointr allocator.
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 35380be4c6e..ccc40b64335 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.191 2002/02/17 21:48:05 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.192 2002/02/23 00:03:58 art Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -980,13 +980,13 @@ pfattach(int num) pool_init(&pf_tree_pl, sizeof(struct pf_tree_node), 0, 0, 0, "pftrpl", NULL); pool_init(&pf_rule_pl, sizeof(struct pf_rule), 0, 0, 0, "pfrulepl", - NULL); + &pool_allocator_nointr); pool_init(&pf_nat_pl, sizeof(struct pf_nat), 0, 0, 0, "pfnatpl", - NULL); + &pool_allocator_nointr); pool_init(&pf_binat_pl, sizeof(struct pf_binat), 0, 0, 0, "pfbinatpl", - NULL); + &pool_allocator_nointr); pool_init(&pf_rdr_pl, sizeof(struct pf_rdr), 0, 0, 0, "pfrdrpl", - NULL); + &pool_allocator_nointr); pool_init(&pf_state_pl, sizeof(struct pf_state), 0, 0, 0, "pfstatepl", NULL); pool_init(&pf_sport_pl, sizeof(struct pf_port_node), 0, 0, 0, "pfsport", |