Branch: refs/heads/master Home: https://github.com/kronosnet/kronosnet Commit: 889e7f8fb9051fccfda97b56bb777e21653e8675 https://github.com/kronosnet/kronosnet/commit/889e7f8fb9051fccfda97b56bb777e... Author: Christine Caulfield ccaulfie@redhat.com Date: 2018-02-19 (Mon, 19 Feb 2018)
Changed paths: M libknet/transport_udp.c
Log Message: ----------- UDP: Don't keep retrying send if we get EINVAL
UDP can return EINVAL if the route is down or not configured, this can cause knet to 'spin' (well, ish, there is a usleep in there).
With this patch in place knet doesn't hog the CPU anywhere near so much (and it does recover if the link returns).
Signed-off-by: Christine Caulfield ccaulfie@redhat.com
Commit: 7629b99ab013219a3b4757a823c4169db08e64c2 https://github.com/kronosnet/kronosnet/commit/7629b99ab013219a3b4757a823c416... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2018-02-20 (Tue, 20 Feb 2018)
Changed paths: M libknet/transport_udp.c
Log Message: ----------- Merge pull request #136 from chrissie-c/fix-udp-einval
UDP: Don't keep retrying send if we get EINVAL
Compare: https://github.com/kronosnet/kronosnet/compare/d7b7fee42793...7629b99ab013