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

Andrew Cagney cagney at vault.libreswan.fi
Tue Nov 23 03:59:08 EET 2021


New commits:
commit 28cc840cc46ebf669c332ffc81099d1a415f314d
Merge: 3813902708 176747fa2c
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Nov 22 20:56:55 2021 -0500

    tcp: agressively close the TCP port
    
    Merge commit '176747fa2c7da7dd681bf55fbaf7e57095b50454'

commit 176747fa2c7da7dd681bf55fbaf7e57095b50454
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Nov 22 12:58:56 2021 -0500

    iface_tcp: agressively close the TCP port
    
    - revamp the iface read path so that the interface specific code
      returns struct msg_digest and can close the event's IFP
    
    - for TCP, when EOF, delete the event handler and delref(IFP) stopping
      further EOFs
    
    - for TCP, when reading the very first message, transfer the event's
      IFP to the message digest (i.e., addref()/delref() leaving the
      message digest with the only reference)
    
      If the packet is rejected then the message digest, including that
      IFP, will be deleted.
    
      OTOH, if the packet is accepted then the new state is given the
      reference to IFP.

commit 182af678ddbe8464bc78fe1f7465a14355096f01
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Nov 22 16:34:13 2021 -0500

    connections: refcnt .interface

commit 269cbb0b40fb4ae84c73de43e8d56eb828a4e2e9
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Nov 22 16:42:50 2021 -0500

    orient: only update c->interface after all interfaces have been checked



More information about the Swan-commit mailing list