Branch: refs/heads/fabbione-udp-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: c0ea7408058466500faba9034aafa21d04e86336
https://github.com/kronosnet/kronosnet/commit/c0ea7408058466500faba9034aafa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-10-19 (Thu, 19 Oct 2017)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
[udp] fix incorrect return code
UDP TX is tricky and racy and in theory TX never fails, as UDP is allowed
to drop packets internally anyway.
In some race condition situations, we can endup in a situation where:
- thread X attempts to send a packet
- socket receives an ICMP back (for whatever reasons) generated
by some other random thread/packet combo
- thread X detects an error in TX and decode the error (correct)
pre patch:
- thread X would treat that as error and drop the packet
post patch:
- thread X should simply resend the packet
simply also the ordering of parsing socket error code to make it easier to read
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/fixes
Home: https://github.com/kronosnet/kronosnet
Commit: dc8bbd6efa1ad62c7673b8e111efa50cd3c45852
https://github.com/kronosnet/kronosnet/commit/dc8bbd6efa1ad62c7673b8e111efa…
Author: Digimer <digimer(a)alteeve.ca>
Date: 2017-10-18 (Wed, 18 Oct 2017)
Changed paths:
M kronosnet.spec.in
Log Message:
-----------
* Added a requirement for 'gcc' as that is not installed on fedora minimal by default, breaking rpmbuild's build attempt.
Signed-off-by: Digimer <digimer(a)alteeve.ca>
Commit: 702d8f5ada83b8c10460ff1b20916a3ac7c2e9d1
https://github.com/kronosnet/kronosnet/commit/702d8f5ada83b8c10460ff1b20916…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-10-18 (Wed, 18 Oct 2017)
Changed paths:
M kronosnet.spec.in
Log Message:
-----------
Merge pull request #53 from digimer/master
Added 'gcc' to .spec BuildRequires
Commit: 3b5b0c3e45465e3030a366fd7aefc88165aa27cd
https://github.com/kronosnet/kronosnet/commit/3b5b0c3e45465e3030a366fd7aefc…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-10-19 (Thu, 19 Oct 2017)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
[udp] fix incorrect return code
UDP TX is tricky and racy and in theory TX never fails, as UDP is allowed
to drop packets internally anyway.
In some race condition situations, we can endup in a situation where:
- thread X attempts to send a packet
- socket receives an ICMP back (for whatever reasons) generated
by some other random thread/packet combo
- thread X detects an error in TX and decode the error (correct)
pre patch:
- thread X would treat that as error and drop the packet
post patch:
- thread X should simply resend the packet
simply also the ordering of parsing socket error code to make it easier to read
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f228802950f4dc4921ac3f4819d640875334188d
https://github.com/kronosnet/kronosnet/commit/f228802950f4dc4921ac3f4819d64…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-10-19 (Thu, 19 Oct 2017)
Log Message:
-----------
Merge branch 'fixes' of github.com:kronosnet/kronosnet into fixes
Compare: https://github.com/kronosnet/kronosnet/compare/70506373f871...f228802950f4
Branch: refs/heads/fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 70506373f87193777a4c6ff336a9621801544420
https://github.com/kronosnet/kronosnet/commit/70506373f87193777a4c6ff336a96…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-10-17 (Tue, 17 Oct 2017)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
[udp] fix incorrect return code
UDP TX is tricky and racy and in theory TX never fails, as UDP is allowed
to drop packets internally anyway.
In some race condition situations, we can endup in a situation where:
- thread X attempts to send a packet
- socket receives an ICMP back (for whatever reasons) generated
by some other random thread/packet combo
- thread X detects an error in TX and decode the error (correct)
pre patch:
- thread X would treat that as error and drop the packet
post patch:
- thread X should simply resend the packet
simply also the ordering of parsing socket error code to make it easier to read
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>