Permalink
Commits on Jan 23, 2017
  1. poc: add option to check CRCs in sctp_defrag_bug

    Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
    chrissie-c committed Jan 23, 2017
Commits on Jan 20, 2017
  1. [PoC] implement EOR handling code for short reads

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 20, 2017
Commits on Jan 19, 2017
  1. [poc] add sctp potential fragmentation bug trigger

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 19, 2017
  2. [build] drop last bits of common/

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 19, 2017
  3. [transport] remove duplicate code

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 19, 2017
Commits on Jan 18, 2017
  1. Update TODO

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 18, 2017
  2. [transport] add knet_handle_get_transport_id_by_name api

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 18, 2017
  3. [transport] add knet_handle_get_transport_name_by_id api call

    also fix a counter in knet_handle_get_transport_name_by_id
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 18, 2017
  4. [transport] add knet_handle_get_transport_list api call

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 18, 2017
  5. [handle] fix error messages

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 18, 2017
Commits on Jan 17, 2017
  1. [compat] Fix some includes for FreeBSD

    Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
    chrissie-c committed Jan 17, 2017
  2. [compat] minor cleanup on the autotool stuff

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 17, 2017
  3. general: Add compatibility code & #ifdefs

    This is enough to get knet compiling on FreeBSD 11 and bits of it
    working. It's nowhere near ready on BSD though, more work is needed,
    but given the fast pace of development it's best to get this in now
    rather than track it in a separate branch.
    
    Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
    chrissie-c committed Jan 17, 2017
  4. Update TODO

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 17, 2017
  5. Update TODO

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 17, 2017
Commits on Jan 16, 2017
  1. [api] add commodity functions to convert to/from strings/sockaddress

    functions are nothing more than wrappers for getnameinfo and getaddrinfo
    with some sanity checks, but exposing them around saves lots of
    maintanance of duplicate code across different stuff.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  2. host: Remove host_tail as it's not used.

    it also had a bug which could cause knet to crash after a host was
    removed.
    
    This patch puts new nodes at the front of the list rather than at the
    end, but I don't think this is a problem.
    
    Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
    chrissie-c committed Jan 16, 2017
  3. [test] fix comment

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  4. [sctp] enable workaround for in-kernel fragmentation issue

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  5. [test] kill obsoleted ping_test

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  6. Update TODO

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  7. [sctp] port sctp to the new API and fix many issues

    - use the new transport API
    - fix locking context around to avoid race conditions and deadlocking
    - fix shutdown code (segfaults and core dumps)
    - properly differentiate between connecting sockets and accepted sockets
      and better use of fd_tracker
    - abstract as much as possible socket management code from threads
    - add lots of comments and debugging messages around
    - simplify socket error management reported from RX thread
    - rework loop timers for connect_thread to avoid thread overload
    - reduce usage of _transport_addrtostr to one call and reuse
      link information around
    - improve error handling across the board
    - stop using data structs inside epolls and switch back to using fds
      this was necessary to avoid processing stale data from epolls
      and look up data from fd_tracket instead
    - add listener stop function
    - make functions safer to be called multiple times
    - probably more.. but can't remember
    
    NOTE: this is not the most elegant code, but it seems to be doing its job
    fine.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  8. [heartbeat] reset PMTUd on link down to trigger a new PMTUd when link…

    … come back online
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  9. [PMTUd] fail early if transport is not connected

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  10. [heartbeat] and make it a tiny little bit faster when transport is no…

    …t connected
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
  11. [heartbeat] make better use of transport_connected option

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 16, 2017
Commits on Jan 15, 2017
  1. [sockets] move socketpair code into transport common code

    also use _configure_common_socket for cloexec/nonblock and rx/tx buffers
    that should be the same for all socketpairs, outgoing and incoming sockets
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 15, 2017
  2. [dstthread] make sure not to get caught in signal when reading from s…

    …ocket
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 15, 2017
  3. [host] make sure not to get caught in signal when sending host updates

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 15, 2017
Commits on Jan 12, 2017
  1. [transports] drop fd_tracker locking in favour of global locking

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 12, 2017
  2. [udp] drop unnecessary list locking

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 12, 2017
Commits on Jan 11, 2017
  1. [SCTP] temporary disable SCTP support while we fix the implementation

    not the best solution, but it's a quick one to allow master to build again
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 11, 2017
  2. [send/recv] report correct errno

    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 11, 2017
  3. Revert "[heartbeat] temporary disable usage of transport_connected"

    This reverts commit 75ca109.
    
    whops.. pushed in the wrong branch by mistake
    committed Jan 11, 2017
  4. [heartbeat] temporary disable usage of transport_connected

    this will make it easier to stabilize SCTP and connection oriented
    protocols
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
    committed Jan 11, 2017