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] Fix device destruction.

# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 102765de794c45574a80b6862f63bf6995e5c839
# Parent  3428d58a85e1a4a618e3f6e7139e4dcf1f9cad19
Fix device destruction.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 3428d58a85e1 -r 102765de794c 
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Thu Aug 25 14:41:52 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Thu Aug 25 15:45:19 2005
@@ -48,10 +48,8 @@
        if (be->watch.node)
                unregister_xenbus_watch(&be->watch);
        unregister_xenbus_watch(&be->backend_watch);
-#if 0
-       if (be->blkif)
-               blkif_put(be->blkif);
-#endif
+       if (be->netif)
+               netif_disconnect(be->netif);
        if (be->frontpath)
                kfree(be->frontpath);
        kfree(be);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix device destruction., Xen patchbot -unstable <=