summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Marineau <marineam@gentoo.org>2008-02-22 23:48:42 +0000
committerMichael Marineau <marineam@gentoo.org>2008-02-22 23:48:42 +0000
commit03c9445642841756b9c5fb6d5ff7873d0adcad7d (patch)
tree39234eb1416d0fa0b113b8e5a050d33f60ec1246 /tags/2.6.20-5/21665-linux-2.6-disable-netback-checksum.patch
parentupdate readme for 2.6.21 (diff)
downloadxen-03c9445642841756b9c5fb6d5ff7873d0adcad7d.tar.gz
xen-03c9445642841756b9c5fb6d5ff7873d0adcad7d.tar.bz2
xen-03c9445642841756b9c5fb6d5ff7873d0adcad7d.zip
Releasing 2.6.20-5
svn path=/patches/; revision=73
Diffstat (limited to 'tags/2.6.20-5/21665-linux-2.6-disable-netback-checksum.patch')
-rw-r--r--tags/2.6.20-5/21665-linux-2.6-disable-netback-checksum.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/tags/2.6.20-5/21665-linux-2.6-disable-netback-checksum.patch b/tags/2.6.20-5/21665-linux-2.6-disable-netback-checksum.patch
new file mode 100644
index 0000000..18b4dae
--- /dev/null
+++ b/tags/2.6.20-5/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
+--
+--- a/drivers/xen/netback/interface.c 2007-04-28 11:57:31.000000000 +1000
++++ b/drivers/xen/netback/interface.c 2007-05-02 19:58:16.000000000 +1000
+@@ -161,7 +161,6 @@
+ 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);
+
+
+