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

Andrew Cagney cagney at vault.libreswan.fi
Thu May 13 03:19:15 UTC 2021


New commits:
commit a2526c4e6e4426d95b5251ee706615781b7bcdbe
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed May 12 20:33:58 2021 -0400

    testing: expect +"test2": unroute-host output: RTNETLINK answers: Network is unreachable
    
    From adding whack to a connection's logger before deleting it.

commit 013ec2062876e6ba01c27df867fb912f05a92846
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed May 12 12:43:42 2021 -0400

    connections: logging updates and fallout
    
    Follow-up: connection: add connection .logger, use when while adding a
    connection
    
    - release_connection(struct connection *c, bool relations, struct fd *whackfd)
      -- drop whackfd parameter; caller attaches whack to connection
      -- don't call delete_connection(); callers problem;
         clarify release_dead_interfaces()
    
    - delete_connection(struct connection *c, bool relations)
      -- change C to <<struct connection **CP>>; set *CP to NULL!
      -- fix two use-after-frees of c->logger in initiate_connection()
    
    - delete_connections_by_name(const char *name, bool strict, struct fd *whackfd)
      -- change WHACKFD to LOGGER
      -- always use delete_connection_wrap() to attach whack to connection
      -- drop bool arg to delete_connection_wrap(), always false
    
    - delete_states_by_connection(struct connection *c, bool relations, struct fd *whackfd)
      -- drop whackfd parameter; caller attaches whack to connection
    
    - unreference_xfrmi(struct connection *c, struct logger *logger)
      -- drop logger parameter; use connection's
      -- assume caller attached whack



More information about the Swan-commit mailing list