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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] tools/hotplug: Fix proxy arp messing abou

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools/hotplug: Fix proxy arp messing about to use correct device
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Wed, 02 Feb 2011 01:10:17 -0800
Delivery-date: Wed, 02 Feb 2011 01:10:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Michael Young <m.a.young@xxxxxxxxxxxx>
# Date 1296587788 0
# Node ID 5748a27b388d6799063e9f12cc4611ec7cd3f73a
# Parent  3edd21ffe407ac0e853d51aa8302d9bdb4068749
tools/hotplug: Fix proxy arp messing about to use correct device

Fix an anomaly in /etc/xen/scripts/network-route.

Currently this script contains
ie. netdev is set to eth${vifnum} by default. Unfortunately vifnum
is not set anywhere in the xen code so the default is actually the
broken "eth".  And anyway the vif number (which is what vifnum ought
to be) is not relevant.

The patch changes the default to eth0 (which is what the comment at
the top of the file says it should be).

Signed-off-by: Michael Young <m.a.young@xxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
 tools/hotplug/Linux/network-route |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3edd21ffe407 -r 5748a27b388d tools/hotplug/Linux/network-route
--- a/tools/hotplug/Linux/network-route Tue Feb 01 19:10:56 2011 +0000
+++ b/tools/hotplug/Linux/network-route Tue Feb 01 19:16:28 2011 +0000
@@ -22,7 +22,7 @@ dir=$(dirname "$0")
 evalVariables "$@"
 echo 1 >/proc/sys/net/ipv4/ip_forward
 echo 1 >/proc/sys/net/ipv4/conf/${netdev}/proxy_arp

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools/hotplug: Fix proxy arp messing about to use correct device, Xen patchbot-unstable <=