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

Andrew Cagney cagney at vault.libreswan.fi
Tue Sep 8 19:49:56 UTC 2020


New commits:
commit fa7f6f9a402945c8163853233a7cc0c07ad33a02
Merge: cd36c74 df0d848
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Sep 8 15:26:50 2020 -0400

    logging: expunge peerlog
    
    - delete code (leave just enough to ignore old configs and options)
    - remove manual page entries
    - don't create .../peer/ when packing
    
    The code tried to use CUR_CONNECTION to determine the peer.
    
    Under light load (a.k.a. adding, but never deleting, a single
    connection) log records would be lost:
    
    - when processing a state, CUR_CONNECTION is left NULL so no record
      was emitted emitted (perhaps it was once set to the state's
      connection; certainly not recently)
    
    - when logging from a helper thread, CUR_CONNECTION is most likely
      (ahd thankfully) NULL; this means all helper thread messages are
      also lost
    
    Under heavy load (a.k.a., anything useful) it could dump core:
    
    - when logging from a helper thread there's a good chance that
      CUR_CONNECTION isn't NULL creating a race
    
    Merge commit 'df0d848765d0e033c5383bfade721b983cbd2235' into main

commit df0d848765d0e033c5383bfade721b983cbd2235
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Sep 8 15:25:59 2020 -0400

    testing: don't expect perpeerlog=no

commit 22e0780ecf84916d978639d37cb41d35b1f60e76
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Sep 8 14:49:40 2020 -0400

    packaging: don't create a peer/ log directory

commit b55dc75517dff0aeac29af20c9475a45f82a81ce
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Sep 8 14:49:13 2020 -0400

    logging: delete peerlog support



More information about the Swan-commit mailing list