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-changelog

[Xen-changelog] [linux-2.6.18-xen] netback: Recent change caused spuriou

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] netback: Recent change caused spurious hotplug event firings.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Dec 2010 10:50:05 -0800
Delivery-date: Tue, 07 Dec 2010 10:54:27 -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 Keir Fraser <keir@xxxxxxx>
# Date 1291746916 0
# Node ID 4d8ca2afea936b7f47cb385fa67a110828083b15
# Parent  dc1d2d3da95f44452e66e00aea9febb5e9a78b65
netback: Recent change caused spurious hotplug event firings.

From: Laszlo Ersek <lersek@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxx>
---
 drivers/xen/netback/xenbus.c |    6 +-----
 1 files changed, 1 insertion(+), 5 deletions(-)

diff -r dc1d2d3da95f -r 4d8ca2afea93 drivers/xen/netback/xenbus.c
--- a/drivers/xen/netback/xenbus.c      Fri Nov 26 10:09:59 2010 +0000
+++ b/drivers/xen/netback/xenbus.c      Tue Dec 07 18:35:16 2010 +0000
@@ -242,11 +242,7 @@ static void frontend_changed(struct xenb
                if (dev->state == XenbusStateConnected)
                        break;
 
-               /* Enforce precondition before potential leak point.
-                * netback_disconnect() is idempotent.
-                */
-               netback_disconnect(&dev->dev);
-
+               /* backend_create_netif() is idempotent */
                backend_create_netif(be);
                if (be->netif)
                        connect(be);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] netback: Recent change caused spurious hotplug event firings., Xen patchbot-linux-2.6.18-xen <=