freebsd-nq/sys/netipsec
Sam Leffler 9ffa96777e MFp4: portability work, general cleanup, locking fixes
change 38496
o add ipsec_osdep.h that holds os-specific definitions for portability
o s/KASSERT/IPSEC_ASSERT/ for portability
o s/SPLASSERT/IPSEC_SPLASSERT/ for portability
o remove function names from ASSERT strings since line#+file pinpints
  the location
o use __func__ uniformly to reduce string storage
o convert some random #ifdef DIAGNOSTIC code to assertions
o remove some debuggging assertions no longer needed

change 38498
o replace numerous bogus panic's with equally bogus assertions
  that at least go away on a production system

change 38502 + 38530
o change explicit mtx operations to #defines to simplify
  future changes to a different lock type

change 38531
o hookup ipv4 ctlinput paths to a noop routine; we should be
  handling path mtu changes at least
o correct potential null pointer deref in ipsec4_common_input_cb

chnage 38685
o fix locking for bundled SA's and for when key exchange is required

change 38770
o eliminate recursion on the SAHTREE lock

change 38804
o cleanup some types: long -> time_t
o remove refrence to dead #define

change 38805
o correct some types: long -> time_t
o add scan generation # to secpolicy to deal with locking issues

change 38806
o use LIST_FOREACH_SAFE instead of handrolled code
o change key_flush_spd to drop the sptree lock before purging
  an entry to avoid lock recursion and to avoid holding the lock
  over a long-running operation
o misc cleanups of tangled and twisty code

There is still much to do here but for now things look to be
working again.

Supported by:	FreeBSD Foundation
2003-09-29 22:57:43 +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 MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
ipsec_mbuf.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
ipsec_osdep.h os dependency glue file for improving portability 2003-09-29 22:47:45 +00:00
ipsec_output.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
ipsec.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
ipsec.h MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
key_debug.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
key_debug.h
key_var.h
key.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
key.h Locking and misc cleanups; most of which I've been running for >4 months: 2003-09-01 05:35:55 +00:00
keydb.h MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
keysock.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
keysock.h
xform_ah.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
xform_esp.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
xform_ipcomp.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
xform_ipip.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
xform.h