Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 82d1d36e66bb27ef35ce9ff9fa83bb67113fec36
https://github.com/fabbione/kronosnet/commit/82d1d36e66bb27ef35ce9ff9fa83bb…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[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(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: d45f53389663d45e36197a6030bcf9ec1a96904b
https://github.com/fabbione/kronosnet/commit/d45f53389663d45e36197a6030bcf9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M libknet/threads_heartbeat.c
Log Message:
-----------
[heartbeat] reset PMTUd on link down to trigger a new PMTUd when link come back online
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 17edfd117be083c920146ccdd028aa0bec3cfe7a
https://github.com/fabbione/kronosnet/commit/17edfd117be083c920146ccdd028aa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M libknet/threads_pmtud.c
Log Message:
-----------
[PMTUd] fail early if transport is not connected
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 36fe9b55ab1ca3153e46947a2b70de5431bb042c
https://github.com/fabbione/kronosnet/commit/36fe9b55ab1ca3153e46947a2b70de…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M libknet/threads_heartbeat.c
Log Message:
-----------
[heartbeat] and make it a tiny little bit faster when transport is not connected
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 8f1d27563986d60137d9a5a20932bc79ae8fc7fb
https://github.com/fabbione/kronosnet/commit/8f1d27563986d60137d9a5a20932bc…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M libknet/threads_heartbeat.c
Log Message:
-----------
[heartbeat] make better use of transport_connected option
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: e3b2a6303e2db021fa68cbbd3065714920e110ea
https://github.com/fabbione/kronosnet/commit/e3b2a6303e2db021fa68cbbd306571…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-15 (Sun, 15 Jan 2017)
Changed paths:
M libknet/handle.c
M libknet/transport_common.c
M libknet/transports.h
Log Message:
-----------
[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(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 3981bd4ed4ed387e419b8bfc5700ddb9140d95e8
https://github.com/fabbione/kronosnet/commit/3981bd4ed4ed387e419b8bfc5700dd…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-15 (Sun, 15 Jan 2017)
Changed paths:
M libknet/threads_dsthandler.c
Log Message:
-----------
[dstthread] make sure not to get caught in signal when reading from socket
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 2ea29a83fc2bdf8a211304fccff4d2f49fee684a
https://github.com/fabbione/kronosnet/commit/2ea29a83fc2bdf8a211304fccff4d2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-15 (Sun, 15 Jan 2017)
Changed paths:
M libknet/host.c
Log Message:
-----------
[host] make sure not to get caught in signal when sending host updates
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 362ebae90f649ff84c2b5164657dedfaf8c61aa4
https://github.com/fabbione/kronosnet/commit/362ebae90f649ff84c2b5164657ded…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-12 (Thu, 12 Jan 2017)
Changed paths:
M libknet/handle.c
M libknet/internals.h
M libknet/threads_send_recv.c
M libknet/transport_common.c
M libknet/transport_udp.c
M libknet/transports.h
Log Message:
-----------
[transports] drop fd_tracker locking in favour of global locking
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>