--- - branch: MAIN date: Sat Dec 3 22:36:29 UTC 2011 files: - new: '1.54' old: '1.53' path: src/sys/arch/xen/xen/xbdback_xenbus.c pathrev: src/sys/arch/xen/xen/xbdback_xenbus.c@1.54 type: modified id: 20111203T223629Z.e198385345dfadd6fe9fbaf0928ab5237dc71fdb log: | xbdback_disconnect() can be called twice, from XenbusStateClosing then from xbdback_xenbus_destroy(). The second call will wait forever as the first already caused the xbd thread to exit. Have xbdback_disconnect() check if we're already disconnected and if so, do nothing. module: src subject: 'CVS commit: src/sys/arch/xen/xen' unixtime: '1322951789' user: bouyer