[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Wed Oct 17 01:30:45 UTC 2018
New commits:
commit 2e484b9c580b4122b980f7cbac6d097ac25efae0
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Oct 16 12:10:41 2018 -0400
ikev2: clean-up functions looking for a CHILD_SA matching a Message ID
- move code to ikev2.[hc]
- change names to v2_child_sa_{initiator,responder}_with_msgid()
- pass in 'struct ike_sa' since it is known
- inline calls to ikev2_child_eq_pst_msgid() and
ikev2_child_resp_eq_pst_msgid() so comparison is clearer
- inline FOR_EACH_COOKIED_STATE(), so that the underlying linear
search using FOR_EACH_STATE_NEW2OLD() is more obvious (point to
potential speed up using SPIs found in IKE_SA)
- log when st->st_sa_role, IS_CHILD_IPSECSA_RESPONSE(), and
IS_CHILD_SA_RESPONDER() don't seem to be consistent - for instance
STATE_V2_IPSEC_R
More information about the Swan-commit
mailing list