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

Andrew Cagney cagney at vault.libreswan.fi
Tue Jan 22 00:19:27 UTC 2019


New commits:
commit 69d0a467bebf6d992ea48cc4cc6d05ca9edf8e7c
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Jan 21 18:26:02 2019 -0500

    state: move insert_state()'s refresh_state() call to call sites
    
    Split adding a state to the DB (can happen far earlier) and calling
    log_state() to execute PLUTO_STATS_BINARY.
    
    Suspect many of the reset_state() calls are redundant.  For instance,
    in the code sequence:
    
          change_state(st, new-state);
          insert_state(st);
          refresh_state(st);
    
    change_state() has already called log_state().
    
    Suspect the log_state() feature isn't tested.



More information about the Swan-commit mailing list