socket: don't free msgfds if error equals EAGAIN
commit9fc53a10f81d3a9027b23fa810147d21be29e614
authorlinzhecheng <linzhecheng@huawei.com>
Tue, 29 May 2018 02:52:40 +0000 (29 10:52 +0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 28 Jun 2018 12:36:59 +0000 (28 13:36 +0100)
treeafd60bde8700bc77267cb3e5f9581c3710c3b407
parent00928a421d47f49691cace1207481b7aad31b1f1
socket: don't free msgfds if error equals EAGAIN

If we see EAGAIN, no data was sent over the socket, so we still have to
retry sending of msgfds next time.

Signed-off-by: linzhecheng <linzhecheng@huawei.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
chardev/char-socket.c