summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-08-23 12:37:11 +0000
committerdlg <dlg@openbsd.org>2016-08-23 12:37:11 +0000
commitb4fa7718bb229259f3ca95830f856728bc7ad598 (patch)
treea7d1566b1c200187b56c4e444ab89fa356ed1829
parentUse rtalloc(9) directly instead of in6_selectsr() in NS/NA output (diff)
downloadwireguard-openbsd-b4fa7718bb229259f3ca95830f856728bc7ad598.tar.xz
wireguard-openbsd-b4fa7718bb229259f3ca95830f856728bc7ad598.zip
pool_setipl
-rw-r--r--sys/net/if_pppx.c3
1 files changed, 2 insertions, 1 deletions
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);