[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Fri May 31 11:48:56 UTC 2019
New commits:
commit e120b17cc7a86d968b8c819a02a1538172b45262
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri May 31 07:48:17 2019 -0400
testing: sprinkle impair-retransmits
commit 545f23b46437283775a32a252dae38c849aa713e
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue May 28 12:23:36 2019 -0400
ikev2: replace processed_retransmit() et.al. with duplicate_{request,response}()
The fields .v2_msgid_windows and .v2_msgid_wip track initiator and
responder Message IDs independently. By assuming this is working
correctly, the need to look at the current state_kind and other magic
is eliminated (and if something goes wrong, the first suspect should
be a missing Message ID update).
The old code was using .st_msgid to simultaneously track both the
current request and response Message ID.
In addition the hack setting the responder's IKE SPIs from the
IKE_SA_INIT response is moved to after the duplicate/busy checks; the
redundant duplicate checks in the code looking for the state are
eliminated; and an O(#STATES) search is removed.
More information about the Swan-commit
mailing list