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: Ignore duplicate notificatio

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] netback: Ignore duplicate notifications of frontend switch to
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Aug 2008 10:30:07 -0700
Delivery-date: Thu, 21 Aug 2008 10:29:53 -0700
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.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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] netback: Ignore duplicate notifications of frontend switch to, Xen patchbot-linux-2.6.18-xen <=