summaryrefslogtreecommitdiff
path: root/sys/net/pf_if.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-09-02 10:19:50 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-09-02 10:19:50 +0000
commit02b3a8e38c957da2740a8da3b0521ea68c609cad (patch)
tree288c4185c0dc244e5595cb1789c9e55dd39c1953 /sys/net/pf_if.c
parent8805d198654bb5cb75fbfa567864bcf82fefa3b3 (diff)
pool_setipl for pf bits
ok phessler@ henning@
Diffstat (limited to 'sys/net/pf_if.c')
-rw-r--r--sys/net/pf_if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c
index fdef0783f43..53fd9662faf 100644
--- a/sys/net/pf_if.c
+++ b/sys/net/pf_if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_if.c,v 1.82 2015/11/20 03:35:23 dlg Exp $ */
+/* $OpenBSD: pf_if.c,v 1.83 2016/09/02 10:19:49 dlg Exp $ */
/*
* Copyright 2005 Henning Brauer <henning@openbsd.org>
@@ -90,6 +90,7 @@ pfi_initialize(void)
pool_init(&pfi_addr_pl, sizeof(struct pfi_dynaddr), 0, 0, 0,
"pfiaddrpl", NULL);
+ pool_setipl(&pfi_addr_pl, IPL_SOFTNET);
pfi_buffer_max = 64;
pfi_buffer = mallocarray(pfi_buffer_max, sizeof(*pfi_buffer),
PFI_MTYPE, M_WAITOK);