Branch: refs/heads/stable1-proposed
Home:
https://github.com/kronosnet/kronosnet
Commit: 268f9ff9b0ff88291ac3582a334a864edcbdaf02
https://github.com/kronosnet/kronosnet/commit/268f9ff9b0ff88291ac3582a334a8…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2018-02-20 (Tue, 20 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(a)redhat.com>