From: "Jan Beulich" Subject: Re: [PATCH RFC] hotplug/Linux: Add --wait to iptables calls. Date: Mon, 01 Jun 2015 16:08:50 +0100 Message-ID: <556C91A2020000780007FCEE@mail.emea.novell.com> References: <1433170772-17684-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1433170772-17684-1-git-send-email-anthony.perard@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Anthony PERARD Cc: Ian Jackson , Xen Devel , Wei Liu , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org >>> On 01.06.15 at 16:59, wrote: > --- a/tools/hotplug/Linux/vif-common.sh > +++ b/tools/hotplug/Linux/vif-common.sh > @@ -130,9 +130,9 @@ frob_iptable() > local c="-D" > fi > > - iptables "$c" FORWARD -m physdev --physdev-is-bridged --physdev-in "$dev" \ > + iptables --wait "$c" FORWARD -m physdev --physdev-is-bridged --physdev-in "$dev" \ > "$@" -j ACCEPT 2>/dev/null && > - iptables "$c" FORWARD -m physdev --physdev-is-bridged --physdev-out "$dev" \ > + iptables --wait "$c" FORWARD -m physdev --physdev-is-bridged --physdev-out "$dev" \ > -j ACCEPT 2>/dev/null > > if [ \( "$command" == "online" -o "$command" == "add" \) -a $? -ne 0 ] Looking at my oldest system's "iptables --help" I can't spot such an option (which doesn't necessarily mean it's not supported). Did you make sure all (older) distros we care about actually support this? Jan