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

[Xen-changelog] [linux-2.6.18-xen] netback: Ignore duplicate notifications of frontend switch to



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1219311367 -3600
# Node ID e86b8e0ac6fdc3144976c4ea0bd922532a1fe8b4
# Parent  cde79b8606c96944787cfbe2548b6a00047a63db
netback: Ignore duplicate notifications of frontend switch to
XenbusStateConnected.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/netback/xenbus.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r cde79b8606c9 -r e86b8e0ac6fd drivers/xen/netback/xenbus.c
--- a/drivers/xen/netback/xenbus.c      Mon Aug 18 10:52:29 2008 +0100
+++ b/drivers/xen/netback/xenbus.c      Thu Aug 21 10:36:07 2008 +0100
@@ -232,6 +232,8 @@ static void frontend_changed(struct xenb
                break;
 
        case XenbusStateConnected:
+               if (dev->state == XenbusStateConnected)
+                       break;
                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®.