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

Andrew Cagney cagney at vault.libreswan.fi
Thu Feb 4 23:23:21 UTC 2021


New commits:
commit c806bf5b9e04e8588ae04e8da88136c009fb3fb1
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Feb 4 12:12:43 2021 -0500

    state: remove state from DB before deleting connection

commit 7717c09a09b80bf37893ed54fc2772218175b772
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Feb 4 10:05:57 2021 -0500

    state: in delete_state() simplify inlined update_state_connection(NULL) call; first pass
    
    eliminate new since always NULL; add lots of comments

commit e8b923a1195839fc518680cbbaae25a6e4dfef29
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Feb 4 11:31:07 2021 -0500

    state: inline delete_state()'s call to update_state_connection(NULL)
    
    nothing smart; sprinkle pasert(connection!=NULL)

commit 9d538e6260c7cb95692fc3320b429c63a08b2c1f
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Feb 4 12:29:37 2021 -0500

    connections: in connection_delete_unused_instance() always NULL the connection parameter
    
    Shuffle delete_pending() so logging happens before above is called.
    
    Address: ??? when does this happen?
    
    - when pending's connection is made unpending its ownership is
      transfered to the state
    
      note added to code
    
    - when connection_delete_unused_instance() deletes the connection,
      pending's connection is set to NULL
    
      the code shuffle eliminates this case



More information about the Swan-commit mailing list