diff options
author | mvs <mvs@cvs.openbsd.org> | 2021-05-04 09:28:05 +0000 |
---|---|---|
committer | mvs <mvs@cvs.openbsd.org> | 2021-05-04 09:28:05 +0000 |
commit | 4aafdaee818af2c5e34597df5046d70177897524 (patch) | |
tree | ced5576016aebb3e1cf5986992612eb59a99ea0d /sys/netinet/ip_ipsp.h | |
parent | 37b895fafedfe3949c396fc815bf54881d9fcc8b (diff) |
Initialize `ipsec_policy_pool' within pfkey_init() instead of doing that
in runtime within pfkeyv2_send(). Also set it's interrupt protection
level to IPL_SOFTNET.
ok bluhm@ mpi@
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 1bea23e1e2b..e048fe7a422 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.196 2020/11/05 19:28:28 phessler Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.197 2021/05/04 09:28:04 mvs Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -482,7 +482,6 @@ struct xformsw { extern int ipsec_in_use; extern u_int64_t ipsec_last_added; -extern int ipsec_policy_pool_initialized; extern int encdebug; /* enable message reporting */ extern int ipsec_keep_invalid; /* lifetime of embryonic SAs (in sec) */ |