summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2022-03-08 22:30:39 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2022-03-08 22:30:39 +0000
commit92c1ff9981daef2a2466f2d57464a575c4cfceec (patch)
tree231dd39ae4d011103eb32875be7250f76556b9c8 /sys/netinet/ip_ipsp.h
parent02da191fa3d6571b8ce2b47a78b0bdad3c4439b9 (diff)
In IPsec policy replace integer refcount with atomic refcount.
OK tobhe@ mvs@
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r--sys/netinet/ip_ipsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index 3b9c82691d5..4610727bf04 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.235 2022/03/02 20:16:43 bluhm Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.236 2022/03/08 22:30:38 bluhm Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr),
@@ -281,7 +281,7 @@ struct ipsec_policy {
u_int8_t ipo_sproto; /* ESP/AH; if zero, use system dflts */
u_int ipo_rdomain;
- int ipo_ref_count;
+ struct refcnt ipo_refcnt;
struct tdb *ipo_tdb; /* [p] Cached TDB entry */