Re: [libvirt] [patch 2/3] Syncronize the teardown of rules with the thread

2010-04-30 Thread Daniel Veillard
On Thu, Apr 29, 2010 at 09:34:47PM -0400, Stefan Berger wrote: Introduce a function to notify the IP address learning thread to terminate and thus release the lock on the interface. Notify the thread before grabbing the lock on the interface and tearing down the rules. This prevents a 'virsh

Re: [libvirt] [patch 2/3] Syncronize the teardown of rules with the thread

2010-04-30 Thread Stefan Berger
Daniel Veillard veill...@redhat.com wrote on 04/30/2010 08:00:46 AM: [...] }; int virNWFilterLearnIPAddress(virNWFilterTechDriverPtr techdriver, ACK, Pushed. Stefan Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/

[libvirt] [patch 2/3] Syncronize the teardown of rules with the thread

2010-04-29 Thread Stefan Berger
Introduce a function to notify the IP address learning thread to terminate and thus release the lock on the interface. Notify the thread before grabbing the lock on the interface and tearing down the rules. This prevents a 'virsh destroy' to tear down the rules that the IP address learning thread