WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [ANNOUNCE] Tree freeze for 3.2.0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [ANNOUNCE] Tree freeze for 3.2.0
From: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Date: Wed, 07 Nov 2007 13:49:20 +0100
Delivery-date: Wed, 07 Nov 2007 04:49:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C35758E8.1808F%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C35758E8.1808F%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071101)
Keir Fraser a écrit :
> Unsurprisingly given the recent churn rate, the tree isn't in a particularly
> stable state right now. I will push the staging tree into the main public
> tree later today, to encourage wider testing and fixing. Let's aim for a
> strong .0 release!
May I ask then this patch I already submitted twice get included ?

Basically, the original network-bridge scripts assume interface is the
last element on on the ouput line, whereas it is not always true,
especially if you use routing metrics.
-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
--- network-bridge      2007-11-07 13:46:30.000000000 +0100
+++ network-bridge~     2007-11-07 13:37:55.000000000 +0100
@@ -72,8 +72,8 @@
     echo "$ifs"
 }
 
-netdev=${netdev:-$(ip route list 0.0.0.0/0  | \
-                   sed 's/.*dev \([a-z]\+[0-9]\+\).*$/\1/')}
+netdev=${netdev:-$(ip route list | awk '/^default / { print $NF }' |
+                  sed 's/.* dev //')}
 if is_network_root ; then
     altdevs=$(find_alt_device $netdev)
     for netdev in $altdevs; do break; done
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel