diff options
author | sam <sam@FreeBSD.org> | 2003-09-01 05:35:55 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-09-01 05:35:55 +0000 |
commit | 7a8c89dde15c19a8c1e8eb2976dc9936d9b7329c (patch) | |
tree | c44de6fcda02feb74d7dccf3bde0ea476169307f /sys/netipsec/keydb.h | |
parent | 591fec46c46db5741955ea71f2571001a039f4d0 (diff) | |
download | FreeBSD-src-7a8c89dde15c19a8c1e8eb2976dc9936d9b7329c.zip FreeBSD-src-7a8c89dde15c19a8c1e8eb2976dc9936d9b7329c.tar.gz |
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
Diffstat (limited to 'sys/netipsec/keydb.h')
-rw-r--r-- | sys/netipsec/keydb.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |