view config/Linux.mk @ 19672:fe84a14aacd1

Serialize iptables calls in hotplug scripts

iptables cannot correctly handle situations when more than one command
is trying to set netfilter rules. In such situations, iptables may fail
with EAGAIN, which results in iptables: Unknown error

Such situation can easily happen when multiple network devices are
configured for a domain as vif hotplug scripts are called in parallel
for all of the network devices.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 28 11:07:19 2009 +0100 (2009-05-28)
parents 3409c35a0b0e
children 7f9286d21706
line source
1 include $(XEN_ROOT)/config/StdGNU.mk
3 # You may use wildcards, e.g. KERNELS=*2.6*
4 KERNELS ?= linux-2.6-xen
6 XKERNELS := $(foreach kernel, $(KERNELS), \
7 $(patsubst buildconfigs/mk.%,%, \
8 $(wildcard buildconfigs/mk.$(kernel))) )