From 7a8c89dde15c19a8c1e8eb2976dc9936d9b7329c Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 1 Sep 2003 05:35:55 +0000 Subject: Locking and misc cleanups; most of which I've been running for >4 months: o add locking o strip irrelevant spl's o split malloc types to better account for memory use o remove unused IPSEC_NONBLOCK_ACQUIRE code o remove dead code Sponsored by: FreeBSD Foundation --- sys/netipsec/keydb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/netipsec/keydb.h') diff --git a/sys/netipsec/keydb.h b/sys/netipsec/keydb.h index 7739856..93773fb 100644 --- a/sys/netipsec/keydb.h +++ b/sys/netipsec/keydb.h @@ -83,6 +83,7 @@ struct comp_algo; /* Security Association */ struct secasvar { LIST_ENTRY(secasvar) chain; + struct mtx lock; /* update/access lock */ u_int refcnt; /* reference count */ u_int8_t state; /* Status of this Association */ -- cgit v1.1