libvirt/src/rpc
Daniel P. Berrangé 2eb748d259 rpc: treat EADDRNOTAVAIL as non-fatal when listening
Consider creating a listener socket from a hostname that resolves to
multiple addresses. It might be the case that the hostname resolves to
both an IPv4 and IPv6 address because it is reachable over both
protocols, but the IPv6 connectivity is provided off-host. In such a
case no local NIC will have IPv6 and so bind() would fail with the
EADDRNOTAVAIL errno. Thus it should be treated as non-fatal as long as
at least one socket was succesfully bound.

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-07-25 16:55:55 +01:00
..
gendispatch.pl remote: add support for nwfilter binding objects 2018-06-26 11:22:07 +01:00
genprotocol.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
gensystemtap.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
Makefile.inc.am src: Always build virnettlscontext into libvirt-net-rpc.la 2018-06-05 14:32:26 +02:00
virkeepalive.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
virkeepalive.h
virkeepaliveprotocol.x
virnetclient.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
virnetclient.h remote: expose a new libssh transport 2016-11-15 15:50:51 +01:00
virnetclientprogram.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
virnetclientprogram.h
virnetclientstream.c rpc/: Remove spaces after casts 2018-05-03 22:31:37 +02:00
virnetclientstream.h Introduce virNetClientStreamRecvHole 2017-05-18 07:42:13 +02:00
virnetdaemon.c util: Clean up consumers of virJSONValueArraySize 2018-05-10 14:59:15 -04:00
virnetdaemon.h src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetlibsshsession.c src: Make virStr*cpy*() functions return an int 2018-07-23 14:27:30 +02:00
virnetlibsshsession.h libssh_transport: add new libssh-based transport 2016-11-15 15:50:51 +01:00
virnetmessage.c rpc: for messages with FDs always decode count of FDs from the message 2017-09-27 18:56:32 +02:00
virnetmessage.h rpc: use virNetMessageClearPayload in client 2016-05-05 14:28:19 -04:00
virnetprotocol.x rpc: Bump maximum message size to 32M 2017-05-24 14:02:29 +02:00
virnetsaslcontext.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
virnetsaslcontext.h build: workaround broken SASL header (again) 2016-03-31 17:36:49 +02:00
virnetserver.c rpc: Fix deadlock if there is no worker pool available 2018-07-21 07:46:42 -04:00
virnetserver.h src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetserverclient.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetserverclient.h src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetservermdns.c Use ATTRIBUTE_FALLTHROUGH 2017-06-12 19:11:30 -04:00
virnetservermdns.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virnetserverprogram.c rpc/: Remove spaces after casts 2018-05-03 22:31:37 +02:00
virnetserverprogram.h rpc: Fix name of include guard 2018-07-21 07:46:45 -04:00
virnetserverservice.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetserverservice.h src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetsocket.c rpc: treat EADDRNOTAVAIL as non-fatal when listening 2018-07-25 16:55:55 +01:00
virnetsocket.h Revert "Prevent more compiler optimization of mockable functions" 2017-07-13 13:07:06 +01:00
virnetsshsession.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
virnetsshsession.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnettlscontext.c Remove check for gnutls/crypto.h 2018-05-16 10:40:40 +02:00
virnettlscontext.h rpc: allow priority string to be passed to TLS context 2016-06-08 13:48:45 +01:00