[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Fri Sep 3 19:37:18 UTC 2021


New commits:
commit 5e1673820852bb0362ea88dfc4cff18cb0f64251
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Sep 3 13:06:50 2021 -0400

    ikev2: in wipe_old_v2_connections() use an exact ID match
    
    Replace the fuzzy same_id(), which would match ID_NONE with anything,
    with id_eq() which performs an exact match.
    
    Here:
    
    - the new established connection should have set this/that.id to
      ID[ir] so shouldn't have ID_NONE
    
    - any old connection that needs to be wiped out was presumably
      established so also has this/that.id set to something other than
      ID_NONE
    
    true?
    
    (I suspect same_id() is good for matching a template ID with an
    instance?)



More information about the Swan-commit mailing list