Branch: refs/heads/sctp-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 0e9ac49d503d3e0ad127fc4a7853885018a0b7e7
https://github.com/kronosnet/kronosnet/commit/0e9ac49d503d3e0ad127fc4a78538…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/threads_rx.c
Log Message:
-----------
[rx] send reply packets only when transport is connected
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 441b5197605a822d9f4cf6badf4e69f752f8aae0
https://github.com/kronosnet/kronosnet/commit/441b5197605a822d9f4cf6badf4e6…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/transport_common.c
M libknet/transport_sctp.c
Log Message:
-----------
[rx] Don't return 512 EOF messages from _recvmmsg
If recvmsg() returns 0 for EOF then it's going to do so
until the error is rectified or read with getsockopt(). But
the _recvmmsg() wrapper keeps reading until the vector is full
thus returning a block of 512 EOF messages all of which the caller
has to plough through.
This patch causes _recvmmsg() to return as soon as it has got
the first EOF so the the caller can deal with it in good time
and not spin looking at the same thing over and over again.
I've also fixed a couple of typos in related comments
Commit: c1cf577894662dccc282389d0de44e46482ba2b9
https://github.com/kronosnet/kronosnet/commit/c1cf577894662dccc282389d0de44…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
[tx] Don't Clear out msghdr for all transports.
When sending a message to multiple links, if one of those links
is not connection-oriented then msg_name & msg_namelen would be cleared,
thus breaking the send to any subsequent non-connection-oriented links.
So now, if we need to clear out msg_name & msg_namelen, we take a copy of the
msghdr and edit that instead,
Commit: 1ea118e49b0858be078f652812a87edceb9c77e8
https://github.com/kronosnet/kronosnet/commit/1ea118e49b0858be078f652812a87…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/threads_rx.c
M libknet/transport_udp.c
M libknet/transports.h
Log Message:
-----------
[rx] use defines to determine RX data types vs random numbers
also extend a bit to make ready for SCTP extra return codes
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 22fc181020e369695179bdee292e8b2fdcde4404
https://github.com/kronosnet/kronosnet/commit/22fc181020e369695179bdee292e8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] major surgery to use only SCTP events to determine socket status
- drop concept of on_connected_epoll to determine if socket is ready or not
- provide much better debugging output at all levels
- incorporate fix from Xin Long <lxin(a)redhat.com> to gather socket status
at the right time
- deal with a recent kernel change on SCTP socket that broke knet (from rhel7):
[net] sctp: allow delivering notifications after receiving SHUTDOWN
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/944f27e835cb...22fc181020e3
Branch: refs/heads/latency-fix
Home: https://github.com/kronosnet/kronosnet
Commit: 35538446a1b08ef4b7b847201a8ee1d00f4a409c
https://github.com/kronosnet/kronosnet/commit/35538446a1b08ef4b7b847201a8ee…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/internals.h
M libknet/links.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/threads_rx.c
Log Message:
-----------
[latency] fix incorrect math that could lead to bad latency calculation
Also, document a bit better how latency is calculated
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/stable1-proposed
Home: https://github.com/kronosnet/kronosnet
Commit: 3e3a1912d2af1880d56cf4c6208266e76d4738de
https://github.com/kronosnet/kronosnet/commit/3e3a1912d2af1880d56cf4c620826…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
[udp] Better fix for -ENETUNREACH
This fix for the ENETUNREACH problem works better than the last one
in that it also works with Linux kernels > 5.0.0 (which return
-ENETUNREACH) if an interfaces is brought down, and also on FreeBSD
which returns ENETDOWN.
Branch: refs/heads/better-eunreach-patch
Home: https://github.com/kronosnet/kronosnet
Commit: b84b48c61368544d14324d6173d3918d24df9837
https://github.com/kronosnet/kronosnet/commit/b84b48c61368544d14324d6173d39…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
[udp] Better fix for -ENETUNREACH
This fix for the ENETUNREACH problem works better than the last one
in that it also works with Linux kernels > 5.0.0 (which return
-ENETUNREACH) if an interfaces is brought down, and also on FreeBSD
which returns ENETDOWN.
Branch: refs/heads/better-eunreach-patch
Home: https://github.com/kronosnet/kronosnet
Commit: ffec0a16aee19420587b67c864e730426e966706
https://github.com/kronosnet/kronosnet/commit/ffec0a16aee19420587b67c864e73…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
[udp] Better fix for -ENETUNREACH
This fix for the ENETUNREACH problem works better than the last one
in that it also works with Linux kernels > 5.0.0 (which return
-ENETUNREACH) if an interfaces is brought down, and also on FreeBSD
which returns ENETDOWN.