[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Thu Apr 16 19:06:37 UTC 2020
New commits:
commit a827fb2a81fad691cf45935108cd2dc80583335d
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 16 11:28:05 2020 -0400
ikev2: decode notify payloads in ikev2_decode_payloads()
Store the decoded notify payloads in the array md.v2N.pbs[] which is
indexed by enum v2N_pbs (unlike v2_notification_t, this doesn't have
huge holes). Ignore duplicate and unknown notify payloads.
This way the need to repeatedly iterate over all the v2N payloads can
be eliminated (since processing each notify payload is O(1) the
additional overhead of doing this in ikev2_decode_payloads() isn't
significant).
Eliminate loops in redirect_global(), and find_v2_state_transition().
Update v2_rejected_initiator_cookie().
All the other v2N loops remain, each with their own esoteric
behaviour.
More information about the Swan-commit
mailing list