Module Name: src Committed By: drochner Date: Thu Feb 10 20:24:27 UTC 2011
Modified Files: src/sys/netipsec: ipsec_output.c xform_ah.c xform_esp.c xform_ipcomp.c Log Message: -in opencrypto callbacks (which run in a kernel thread), pull softnet_lock everywhere splsoftnet() was used before, to fix MP concurrency problems -pull KERNEL_LOCK where ip(6)_output() is called, as this is what the network stack (unfortunately) expects, in particular to avoid races for packets in the interface send queues >From Wolfgang Stukenbrock per PR kern/44418, with the application of KERNEL_LOCK to what I think are the essential points, tested on a dual-core i386. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/netipsec/ipsec_output.c cvs rdiff -u -r1.26 -r1.27 src/sys/netipsec/xform_ah.c cvs rdiff -u -r1.22 -r1.23 src/sys/netipsec/xform_esp.c cvs rdiff -u -r1.20 -r1.21 src/sys/netipsec/xform_ipcomp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.