summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_pfsync.c3
-rw-r--r--sys/net/if_pppx.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index f3594e39db0..e926fede27f 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.229 2016/04/29 08:55:03 krw Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.230 2016/08/23 12:37:44 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -303,6 +303,7 @@ pfsync_clone_create(struct if_clone *ifc, int unit)
TAILQ_INIT(&sc->sc_qs[q]);
pool_init(&sc->sc_pool, PFSYNC_PLSIZE, 0, 0, 0, "pfsync", NULL);
+ pool_setipl(&sc->sc_pool, IPL_SOFTNET);
TAILQ_INIT(&sc->sc_upd_req_list);
TAILQ_INIT(&sc->sc_deferrals);
sc->sc_deferred = 0;
diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c
index 02c2fe001b8..4f6708677f8 100644
--- a/sys/net/if_pppx.c
+++ b/sys/net/if_pppx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppx.c,v 1.51 2016/04/13 11:41:15 mpi Exp $ */
+/* $OpenBSD: if_pppx.c,v 1.52 2016/08/23 12:37:11 dlg Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
@@ -250,6 +250,7 @@ pppxopen(dev_t dev, int flags, int mode, struct proc *p)
pppx_if_pl = malloc(sizeof(*pppx_if_pl), M_DEVBUF, M_WAITOK);
pool_init(pppx_if_pl, sizeof(struct pppx_if), 0, 0, PR_WAITOK,
"pppxif", NULL);
+ pool_setipl(pppx_if_pl, IPL_NONE);
}
pxd = malloc(sizeof(*pxd), M_DEVBUF, M_WAITOK | M_ZERO);