Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 762c00987bc444990b10c46ce7b7db419ae400e1
https://github.com/fabbione/kronosnet/commit/762c00987bc444990b10c46ce7b7db…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M Makefile.am
R common/Makefile.am
R common/netutils.c
R common/netutils.h
R common/netutils_test.c
M configure.ac
M kronosnetd/Makefile.am
M kronosnetd/vty.c
M kronosnetd/vty_cli_cmds.c
M libknet/Makefile.am
M libknet/libknet.h
M libknet/link.c
A libknet/netutils.c
A libknet/netutils.h
M libknet/tests/Makefile.am
M libknet/tests/api-check.mk
A libknet/tests/api_knet_addrtostr.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_sync.c
A libknet/tests/api_knet_strtoaddr.c
M libknet/tests/knet_bench.c
M libknet/threads_send_recv.c
M libknet/transport_common.c
M libknet/transport_sctp.c
M libknet/transports.h
Log Message:
-----------
[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(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 328a0d83a4385abd714c3acdbf573edff8e89046
https://github.com/fabbione/kronosnet/commit/328a0d83a4385abd714c3acdbf573e…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M libknet/host.c
M libknet/internals.h
Log Message:
-----------
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(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 9dc5207dbd757864dfebdcff996499eeac5ebc45
https://github.com/fabbione/kronosnet/commit/9dc5207dbd757864dfebdcff996499…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M TODO
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] enable workaround for in-kernel fragmentation issue
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: acc837082a74b8c5bb045a50ca002969c0353c2d
https://github.com/fabbione/kronosnet/commit/acc837082a74b8c5bb045a50ca0029…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M TODO
M libknet/tests/Makefile.am
R libknet/tests/ping_test.c
Log Message:
-----------
[test] kill obsoleted ping_test
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
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>