]> xenbits.xensource.com Git - libvirt.git/commit
Re-add use of locking with iptables/ip6tables/ebtables
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Nov 2014 12:34:57 +0000 (12:34 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 14 Nov 2014 15:15:16 +0000 (15:15 +0000)
commitdc33e6e4a5a5d429198b2c63ff6b63729353e2cf
tree0a680fdd6085b76f13e55006bca8e88f7aea6b14
parentae3e29e6e7a9a208732f22721e735d238b2aa8cb
Re-add use of locking with iptables/ip6tables/ebtables

A previous commit introduced use of locking with invocation
of iptables in the viriptables.c module

  commit ba95426d6f39aec1da6e069dd7222f7a8c6a5862
  Author: Serge Hallyn <serge.hallyn@ubuntu.com>
  Date:   Fri Nov 1 12:36:59 2013 -0500

    util: use -w flag when calling iptables

This only ever had effect with the virtual network driver,
as it was not wired up into the nwfilter driver. Unfortunately
in the firewall refactoring the use of the -w flag was
accidentally lost.

This patch introduces it to the virfirewall.c module so that
both the virtual network and nwfilter drivers will be using
it. It also ensures that the equivalent --concurrent flag
to ebtables is used.
src/util/virfirewall.c
src/util/viriptables.c