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

D. Hugh Redelmeier hugh at vault.libreswan.fi
Fri Sep 4 20:38:30 EEST 2015


New commits:
commit 3031a9fefe8f14e16a422ef5e938e34677edcf8a
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Fri Sep 4 13:26:40 2015 -0400

    pluto: more disciplined handling of assignment to st_connection
    
    When there is no longer a reference from any state object's
    st_connection field, the connection should be deleted.  One case where
    a reference is deleted is when an st_connection is overwritten.
    
    This change more systematically handles overwriting.  Each assignment
    to st_connection that might remove a reference becomes a call to
    update_state_connection.  Ones that cannot remove a reference get
    comments expaining why they cannot.
    
    The main result should be fewer "leaks" of connections: unreferenced
    connections never being freed.  I don't expect that this would be
    observable on the wire.



More information about the Swan-commit mailing list