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

Andrew Cagney cagney at vault.libreswan.fi
Sat Mar 27 12:47:30 UTC 2021


New commits:
commit ea6252edbca1974364bb2eb7ec4b28a8148aad23
Merge: 66c3af4 37d50de
Author: Andrew Cagney <cagney at gnu.org>
Date:   Sat Mar 27 08:46:32 2021 -0400

    dmux: rework how packets are read then fed into the state machine
    
    Replace callback with a low-level event handler.
    
    Merge commit '37d50de61c339c59d8ae9933e6b024eed5d3e720'

commit 37d50de61c339c59d8ae9933e6b024eed5d3e720
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Mar 26 22:16:41 2021 -0400

    testing: expect very detailed log messages from IKETCP

commit 48b771201b3f8da451ce58f4101f613a781c8dd7
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Mar 26 22:05:34 2021 -0400

    demux: re-org reading then processing a packet
    
    Replace the handle_packet_cb() callback with the low-level event
    handler process_iface_packet() shared by both TCP and UDP.
    
      s = read(iface, packet)
      switch (s)
        ABORT: close(ifcase) as IKETCP barfed before state was created
        OK: pass packet onto demux and then state
            but don't trust IFACE after call as delete_state()
    	may have been called
        IGNORE: /* try again */



More information about the Swan-commit mailing list