diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2016-09-15 07:47:01 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2016-09-15 07:47:01 +0000 |
commit | fa09da570222d2c30cc1a5400d8f1e312fe3881d (patch) | |
tree | 06fc53a9c6a6799f5c78b014e9359b7e168d7e9c /sys/net/bfd.c | |
parent | 13c7fb5fd65e585175fcd56b6fd62d7c48b10908 (diff) |
chase dlg@'s change of merging pool_setipl into pool_init
Diffstat (limited to 'sys/net/bfd.c')
-rw-r--r-- | sys/net/bfd.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/net/bfd.c b/sys/net/bfd.c index 267b02754c9..8a027ed80fa 100644 --- a/sys/net/bfd.c +++ b/sys/net/bfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bfd.c,v 1.24 2016/09/13 07:56:05 phessler Exp $ */ +/* $OpenBSD: bfd.c,v 1.25 2016/09/15 07:47:00 phessler Exp $ */ /* * Copyright (c) 2016 Peter Hessler <phessler@openbsd.org> @@ -274,15 +274,12 @@ bfd_rtfree(struct rtentry *rt) void bfdinit(void) { - pool_init(&bfd_pool, sizeof(struct bfd_softc), 0, 0, 0, + pool_init(&bfd_pool, sizeof(struct bfd_softc), 0, IPL_SOFTNET, 0, "bfd_softc", NULL); - pool_setipl(&bfd_pool, IPL_SOFTNET); - pool_init(&bfd_pool_peer, sizeof(struct bfd_state), 0, 0, 0, + pool_init(&bfd_pool_peer, sizeof(struct bfd_state), 0, IPL_SOFTNET, 0, "bfd_softc_peer", NULL); - pool_setipl(&bfd_pool_peer, IPL_SOFTNET); - pool_init(&bfd_pool_time, sizeof(struct timeval), 0, 0, 0, + pool_init(&bfd_pool_time, sizeof(struct timeval), 0, IPL_SOFTNET, 0, "bfd_softc_time", NULL); - pool_setipl(&bfd_pool_time, IPL_SOFTNET); bfdtq = taskq_create("bfd", 1, IPL_SOFTNET, 0); if (bfdtq == NULL) |