summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tags/2.6.21-2/21665_linux-2.6-disable-netback-checksum.patch')
-rw-r--r--tags/2.6.21-2/21665_linux-2.6-disable-netback-checksum.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/tags/2.6.21-2/21665_linux-2.6-disable-netback-checksum.patch b/tags/2.6.21-2/21665_linux-2.6-disable-netback-checksum.patch
new file mode 100644
index 0000000..4ac6f0b
--- /dev/null
+++ b/tags/2.6.21-2/21665_linux-2.6-disable-netback-checksum.patch
@@ -0,0 +1,37 @@
+From: Herbert Xu <herbert.xu@redhat.com>
+Subject: Re: Final resolution for the checksum problems
+
+
+Daniel P. Berrange <berrange@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@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);
+