diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-19 08:55:03 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-19 08:55:03 +0000 |
commit | f5b9cd087fa4774a162d27071d81a3ffad71190e (patch) | |
tree | 68da04f50b7e5e9a0bd120aceab19a1727096bd0 /patches | |
parent | d41f35ae27ff988098d930a552f9c069c2aab4c6 (diff) | |
download | xen-f5b9cd087fa4774a162d27071d81a3ffad71190e.tar.gz xen-f5b9cd087fa4774a162d27071d81a3ffad71190e.tar.bz2 xen-f5b9cd087fa4774a162d27071d81a3ffad71190e.zip |
This patch provides a workaround for bugzilla #90 which shows up far too
often when creating and then destroying lots of domUs and dom0 is SMP.
Details are in the [1]bug. With this patch, I now can create/destroy
domains in a tight loop for hours where previously every 3 to 10 cycles
would blow up.
1. http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=90
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/linux-2.6.12/workaround_double_br_del_if.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/linux-2.6.12/workaround_double_br_del_if.patch b/patches/linux-2.6.12/workaround_double_br_del_if.patch new file mode 100644 index 0000000000..8c43e19628 --- /dev/null +++ b/patches/linux-2.6.12/workaround_double_br_del_if.patch @@ -0,0 +1,11 @@ +--- linux-2.6.12/net/bridge/br_if.c 2005-06-17 14:48:29.000000000 -0500 ++++ linux-2.6.12-xen0-smp/net/bridge/br_if.c 2005-08-18 15:17:27.302615846 -0500 +@@ -382,7 +382,7 @@ + { + struct net_bridge_port *p = dev->br_port; + +- if (!p || p->br != br) ++ if (!p || p->br != br || p->state == BR_STATE_DISABLED) + return -EINVAL; + + br_sysfs_removeif(p); |