On 08/13/2010 12:35 PM, Stefan Berger wrote:
While testing the SIGHUP handling and reloading of the nwfilter
driver,
I found that when the filters are rebuilt and mutlipe threads handled
the individual interfaces, concurrently running multiple external bash
scripts causes strange failures even though the executed ebtables
commands are working on different tables for different interfaces. I
cannot say for sure where the concurrency problems are caused, but
introducing this lock definitely helps.
Signed-off-by: Stefan Berger <stefanb(a)us.ibm.com>
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org