freebsd-skq/sys/netipsec
Pawel Jakub Dawidek 95708c5fe3 Prevent disappearing SAD entries by implementing MPsafe refcounting.
"Why didn't he use SECASVAR_LOCK()/SECASVAR_UNLOCK() macros to
 synchronize access to the secasvar structure's fields?" one may ask.
There were two reasons:
1. refcount(9) is faster then mutex(9) synchronization (one atomic
   operation instead of two).
2. Those macros are not used now at all, so at some point we may decide
   to remove them entirely.

OK'ed by:	gnn
MFC after:	2 weeks
2006-05-20 15:35:36 +00:00
..
ah_var.h
ah.h
esp_var.h
esp.h
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h
ipsec_input.c
ipsec_mbuf.c promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-15 21:11:11 +00:00
ipsec_osdep.h
ipsec_output.c Retire MT_HEADER mbuf type and change its users to use MT_DATA. 2005-11-02 13:46:32 +00:00
ipsec.c Hide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION. 2006-04-10 15:04:36 +00:00
ipsec.h Hide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION. 2006-04-10 15:04:36 +00:00
key_debug.c Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
key_debug.h
key_var.h First steps towards IPSec cleanup. 2006-03-25 13:38:52 +00:00
key.c Prevent disappearing SAD entries by implementing MPsafe refcounting. 2006-05-20 15:35:36 +00:00
key.h
keydb.h First steps towards IPSec cleanup. 2006-03-25 13:38:52 +00:00
keysock.c Remove unused variables s and error in key_detach. The previous 2006-04-04 10:11:15 +00:00
keysock.h Fix stack corruptions on amd64. 2006-01-21 10:44:34 +00:00
xform_ah.c - The authsize field from auth_hash structure was removed. 2006-05-17 18:30:28 +00:00
xform_esp.c - The authsize field from auth_hash structure was removed. 2006-05-17 18:30:28 +00:00
xform_ipcomp.c Allow to use fast_ipsec(4) on debug.mpsafenet=0 and INVARIANTS-enabled 2006-03-23 23:26:34 +00:00
xform_ipip.c Fix more stack corruptions on amd64. 2006-03-30 18:57:04 +00:00
xform_tcp.c First steps towards IPSec cleanup. 2006-03-25 13:38:52 +00:00
xform.h Fix more stack corruptions on amd64. 2006-03-30 18:57:04 +00:00