summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel P. Berrange2015-12-21 13:04:21 +0100
committerDaniel P. Berrange2015-12-22 19:19:32 +0100
commitbead59946a8b54398f4ba3c9c8ecd15eeac78c53 (patch)
tree7a413335e6a2767b8d172dfe3d92348d7848e88a /include
parentio: bind to loopback IP addrs in test suite (diff)
downloadqemu-bead59946a8b54398f4ba3c9c8ecd15eeac78c53.tar.gz
qemu-bead59946a8b54398f4ba3c9c8ecd15eeac78c53.tar.xz
qemu-bead59946a8b54398f4ba3c9c8ecd15eeac78c53.zip
io: fix setting of QIO_CHANNEL_FEATURE_FD_PASS on server connections
The QIO_CHANNEL_FEATURE_FD_PASS feature flag is set in the qio_channel_socket_set_fd() method, however, this only deals with client side connections. To ensure server side connections also have the feature flag set, we must set it in qio_channel_socket_accept() too. This also highlighted a typo fix where the code updated the sockaddr struct in the wrong object instance. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions