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] proto_csum_blank field gets lost if packet is copied in

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] proto_csum_blank field gets lost if packet is copied in netback driver.
From: Xen patchbot-3.0-testing <patchbot-3.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 May 2006 09:38:26 +0000
Delivery-date: Thu, 11 May 2006 02:41:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 5da82db00c6e6dfa8dd33809c8fab94376635ad3
# Parent  5976f3828e1865da95f7931637466ae353824b3e
Simply do not declare module_exit() handlers for netback/blkback, rather
than declaring the modules unsafe.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
xen-unstable changeset:   9970:60f7b567bb2b00d9dcf6ed86847feba4f9462177
xen-unstable date:        Wed May 10 16:47:00 2006 +0100
---
 linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c |    9 +--------
 linux-2.6-xen-sparse/drivers/xen/netback/netback.c |    8 --------
 2 files changed, 1 insertion(+), 16 deletions(-)

diff -r 5976f3828e18 -r 5da82db00c6e 
linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c        Wed May 10 
16:26:27 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c        Wed May 10 
16:48:12 2006 +0100
@@ -570,18 +570,11 @@ static int __init blkif_init(void)
                list_add_tail(&pending_reqs[i].free_list, &pending_free);
     
        blkif_xenbus_init();
-       __unsafe(THIS_MODULE);
+
        return 0;
 }
 
 module_init(blkif_init);
-
-static void blkif_exit(void)
-{
-       BUG();
-}
-
-module_exit(blkif_exit);
 
 MODULE_LICENSE("Dual BSD/GPL");
 
diff -r 5976f3828e18 -r 5da82db00c6e 
linux-2.6-xen-sparse/drivers/xen/netback/netback.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/netback.c        Wed May 10 
16:26:27 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/netback.c        Wed May 10 
16:48:12 2006 +0100
@@ -843,18 +843,10 @@ static int __init netback_init(void)
                &netif_be_dbg);
 #endif
 
-       __unsafe(THIS_MODULE);
-
        return 0;
 }
 
-static void netback_cleanup(void)
-{
-       BUG();
-}
-
 module_init(netback_init);
-module_exit(netback_cleanup);
 
 MODULE_LICENSE("Dual BSD/GPL");
 

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

<Prev in Thread] Current Thread [Next in Thread>