rpms/kernel-xen-2.6/devel linux-2.6-disable-netback-checksum.patch, 1.2, 1.3 kernel-xen.spec, 1.38, 1.39

Eduardo Habkost (ehabkost) fedora-extras-commits at redhat.com
Tue Aug 7 14:47:43 UTC 2007


Author: ehabkost

Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12551

Modified Files:
	kernel-xen.spec 
Added Files:
	linux-2.6-disable-netback-checksum.patch 
Log Message:
Re-add linux-2.6-disable-netback-checksum.patch

This is the only patch that is not yet included on
linux-2.6.21-xen-3.1.0.patch.

The following patches were removed because they are already included
on linux-2.6.21-xen-3.1.0.patch:

- linux-2.6-forwarding_of_ip_summed.patch
- linux-2.6-use_csum_start_offset_instead.patch
- linux-2.6-treat_partial_as_unnecessary.patch
- linux-2.6-disable-netback-checksum.patch



linux-2.6-disable-netback-checksum.patch:

Index: linux-2.6-disable-netback-checksum.patch
===================================================================
RCS file: linux-2.6-disable-netback-checksum.patch
diff -N linux-2.6-disable-netback-checksum.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ linux-2.6-disable-netback-checksum.patch	7 Aug 2007 14:47:10 -0000	1.3
@@ -0,0 +1,37 @@
+From: Herbert Xu <herbert.xu at redhat.com>
+Subject: Re: Final resolution for the checksum problems
+
+
+Daniel P. Berrange <berrange at redhat.com> wrote:
+>
+>> > Alternatively we could just make netback default tx checksums to off
+>> > which should have a similar effect as disabling it on virbr0.
+>> 
+>> This seems like a simpler path than introducing new infrastructure for
+>> scripts to run every time the interface is brought up/down.  And then
+>> it's even easier to remove the "trigger" when we get the functionality
+>> in the kernel
+> 
+> I agree - this would be even simpler. 
+
+Here is a patch which does just that.
+
+Cheers,
+-- 
+Visit Openswan at http://www.openswan.org/
+Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
+Home Page: http://gondor.apana.org.au/~herbert/
+PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
+--
+Index: linux-2.6.21.i386/drivers/xen/netback/interface.c
+===================================================================
+--- linux-2.6.21.i386.orig/drivers/xen/netback/interface.c
++++ linux-2.6.21.i386/drivers/xen/netback/interface.c
+@@ -164,7 +164,6 @@ netif_t *netif_alloc(domid_t domid, unsi
+ 	dev->open            = net_open;
+ 	dev->stop            = net_close;
+ 	dev->change_mtu	     = netbk_change_mtu;
+-	dev->features        = NETIF_F_IP_CSUM;
+ 
+ 	SET_ETHTOOL_OPS(dev, &network_ethtool_ops);
+ 


Index: kernel-xen.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/kernel-xen.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- kernel-xen.spec	6 Aug 2007 13:37:35 -0000	1.38
+++ kernel-xen.spec	7 Aug 2007 14:47:10 -0000	1.39
@@ -505,10 +505,7 @@
 Patch1662: linux-2.6-udf-2.6.22-rc4-1-udf_block_leak.patch
 Patch1670: linux-2.6-sysfs-inode-allocator-oops.patch
 # checksum fixes (bug #223258)
-#Patch1660: linux-2.6-forwarding_of_ip_summed.patch
-#Patch1661: linux-2.6-use_csum_start_offset_instead.patch
-#Patch1662: linux-2.6-treat_partial_as_unnecessary.patch
-#Patch1665: linux-2.6-disable-netback-checksum.patch
+Patch1665: linux-2.6-disable-netback-checksum.patch
 
 Patch1690: linux-2.6-PT_LOAD-align.patch
 Patch1700: linux-2.6-dvb-spinlock.patch
@@ -1186,10 +1183,7 @@
 %patch1670 -p1
 
 # checksum fixes (bug #223258)
-#patch1660 -p1
-#patch1661 -p1
-#patch1662 -p1
-#patch1665 -p1
+%patch1665 -p1
 
 # Align kernel data segment to page boundary.
 %patch1690 -p1
@@ -2303,6 +2297,10 @@
 #  - tux.
 
 %changelog
+* Tue Aug 07 2007 Eduardo Habkost <ehabkost at redhat.com>
+- Re-add linux-2.6-disable-netback-checksum.patch. The other checksum
+  patches are already included on linux-2.6-xen-3.1.0.patch.
+
 * Mon Aug 06 2007 Eduardo Habkost <ehabkost at redhat.com>
 - Xenoprof: fix DOMAIN_SWITCH_CODE value according to oprofile 0.9.3
   (Markus Armbruster)




More information about the fedora-extras-commits mailing list