diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-08-30 23:29:40 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-08-30 23:29:40 +0000 |
commit | 1ebceefa60a3ec0b67e31b8accdb15ab61aa17a4 (patch) | |
tree | 3983a5ff78398204ec1010f78004e74dd8a08f6f /sys/net/route.c | |
parent | 54a1a10c8035ff9ec7b252904e0675a1ac7f2d15 (diff) |
pool_setipl
ok claudio@ mpi@
Diffstat (limited to 'sys/net/route.c')
-rw-r--r-- | sys/net/route.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index bfa5925e1da..344f5af66e8 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.317 2016/08/22 16:53:59 mpi Exp $ */ +/* $OpenBSD: route.c,v 1.318 2016/08/30 23:29:39 dlg Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -189,6 +189,7 @@ route_init(void) { pool_init(&rtentry_pool, sizeof(struct rtentry), 0, 0, 0, "rtentry", NULL); + pool_setipl(&rtentry_pool, IPL_SOFTNET); while (rt_hashjitter == 0) rt_hashjitter = arc4random(); @@ -1514,6 +1515,7 @@ rt_timer_init(void) pool_init(&rttimer_pool, sizeof(struct rttimer), 0, 0, 0, "rttmr", NULL); + pool_setipl(&rttimer_pool, IPL_SOFTNET); LIST_INIT(&rttimer_queue_head); timeout_set(&rt_timer_timeout, rt_timer_timer, &rt_timer_timeout); |