[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] netback: Recent change caused spurious hotplug event firings.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.