HomeClusterLabs Projects

UDP: Don't keep retrying send if we get EINVAL

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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>

Details

Provenance
chrissie-cAuthored on Feb 19 2018, 9:13 AM
fabbioneCommitted on Feb 19 2018, 11:53 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.