Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: a61cb76ed75421eb712468f4d09cdfaf4de48363
https://github.com/fabbione/kronosnet/commit/a61cb76ed75421eb712468f4d09cdf…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-09-06 (Sun, 06 Sep 2015)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] change error check code to avoid a segfault and make it more readable
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 7353292b0b81bc8bd485e1aea913a6ae9f1db780
https://github.com/fabbione/kronosnet/commit/7353292b0b81bc8bd485e1aea913a6…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2015-04-21 (Tue, 21 Apr 2015)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
libtap: don't close pipe fd twice
libtap was closing the parent's pipe() fd twice. Sometimes, between the
first and second close, that fd gets reopened by the logging thread as
PF_LOCAL, and used for logging.
Then libtap wakes up again after the fork and closes the fd thinking
it's its pipe fd. knet then opens it again as AF_INET for pinging.
libqb logging then errors on a sendto() and closes it AGAIN, and reopens
it as a PF_LOCAL logging fd. Ping then has a brain haemorrage next time
it comes round to calling sendto().
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 0ee59730a5b31bdb13ea92a66e35d975e3677da0
https://github.com/fabbione/kronosnet/commit/0ee59730a5b31bdb13ea92a66e35d9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-03-19 (Thu, 19 Mar 2015)
Changed paths:
M libknet/host.c
M libknet/host.h
Log Message:
-----------
[host] move dst cache updates to the right logging subsystem
and return error codes
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 5773872a82a6e492ab60a4c85bdf5b87bb8000c0
https://github.com/fabbione/kronosnet/commit/5773872a82a6e492ab60a4c85bdf5b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-03-19 (Thu, 19 Mar 2015)
Changed paths:
M libknet/host.c
M libknet/host.h
M libknet/internals.h
M libknet/link.c
M libknet/threads.c
Log Message:
-----------
[host] create dst_cache sync and async functions and fix link lookup race condition
Prior to this change, there was a potential race condition in which, when shutting
down a link, the destination cache would not be updated in time and pckts would
be lost in an invalid socket.
This change introduced a sync version of the dst cache update and protects
outgoing traffic socket lookup with a mutex.
The only downside of this change is that, in future, when we will introduce
complex switching algorithms, we might have to spend a bit more time
recalculating the network topology on link shutdown and halt traffic switching.
Pro is that we have a smaller gap in lost traffic when reconfiguring the local
node.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: ffabbde22c0648de2b431638c3c34fe0e7f93ec8
https://github.com/fabbione/kronosnet/commit/ffabbde22c0648de2b431638c3c34f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-03-18 (Wed, 18 Mar 2015)
Changed paths:
M libknet/threads.c
Log Message:
-----------
[threads] simplify code to send data to links
in preparation to remove race condition in _dst_cache update,
simplify the access path to common code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: eaed639b886480777ae737eb7ce4a18969d7ac44
https://github.com/fabbione/kronosnet/commit/eaed639b886480777ae737eb7ce4a1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-03-12 (Thu, 12 Mar 2015)
Changed paths:
M libknet/link.c
M libknet/onwire.h
M libknet/threads.c
Log Message:
-----------
[onwire] introduce khpi_link_status_ defines to make code simpler to parse
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>