]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix busy-wait loop on closed file descriptor
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 17 Aug 2010 15:30:51 +0000 (16:30 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 11 Nov 2010 16:03:26 +0000 (16:03 +0000)
commitc5d1a995b51bf13493826f32b6702aa80fb2d81e
tree4a609aaa370db5bd7594158bde819e63d44090cc
parentdad4b5d47f8ce8ea44ca2ef462c43eb3d5954bf5
Fix busy-wait loop on closed file descriptor

When closing open streams after a client quits, the event
callback was not removed. This mean that poll() was using
a closed FD and returning POLLNVAL in a busy-wait loop.

* daemon/stream.c: Disconnect stream callbacks
daemon/stream.c