5731fa8ced
xenpaging.doc.patch - add /var/lib/xen/xenpaging directory - fate#310510 - fix xenpaging xenpaging.memory_op.patch, correct delay handling in retry loop - Some cleanup in the APIC handling code in the HyperV shim. hv_apic.patch - bnc#640370 - VM graphic console in VNC is corrupted xenfb_32bpp.patch - fate#310510 - fix xenpaging xenpaging.autostart_delay.patch delay start of xenpaging 7 seconds for smooth BIOS startup OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=79
23 lines
647 B
Diff
23 lines
647 B
Diff
Subject: xenpaging/xenstore: fix fd leak in xenstore
|
|
|
|
Missing from commit 'libxl: Backported stuff from unstable'
|
|
Without this change, xs_daemon_open/xs_daemon_close will leak filedescriptors.
|
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
---
|
|
tools/xenstore/xs.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- xen-4.0.1-testing.orig/tools/xenstore/xs.c
|
|
+++ xen-4.0.1-testing/tools/xenstore/xs.c
|
|
@@ -285,6 +285,8 @@ void xs_daemon_close(struct xs_handle *h
|
|
mutex_unlock(&h->request_mutex);
|
|
mutex_unlock(&h->reply_mutex);
|
|
mutex_unlock(&h->watch_mutex);
|
|
+
|
|
+ close_fds_free(h);
|
|
}
|
|
|
|
static bool read_all(int fd, void *data, unsigned int len)
|