Module Name: src Committed By: drochner Date: Tue May 17 18:43:03 UTC 2011
Modified Files: src/sys/netipsec: key.c Log Message: fix lookup of SAs for outgoing packets in the !prefered_oldsa case, as done in KAME and FAST_IPSEC after NetBSD imported the code (The default differs: KAME uses the oldest valid SA while FAST_IPSEC in NetBSD uses the newest one. I'm not changing this -- there is a lack of specification and behavior can be changed with the "oldsa" sysctl.) For incoming packets it shouldn't matter but I made it look similar just to avoid unnecessary differences. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/netipsec/key.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.