Branch: refs/heads/dont-spin-split-ipfamily
Home:
https://github.com/kronosnet/kronosnet
Commit: 7c32ecada13c5d19ca7d2617bc52faa39361dca5
https://github.com/kronosnet/kronosnet/commit/7c32ecada13c5d19ca7d2617bc52f…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
udp: Don't spin if a node has the wrong IP family
If a link has nodes with a mix of IP families (eg it's set up
with IPv4 ones and an IPv6 one is added) then knet spins on sending
to an IPv6 one from a IPv4 socket with -EAFNOSUPPORT.
Yes, this is a bad config error but knet should handle it with a
little more grace.
sctp does not seem to suffer from the spinning at least
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>