diff options
author | Robert Buchholz <rbu@gentoo.org> | 2007-09-08 19:12:56 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2007-09-08 19:12:56 +0000 |
commit | 3f859c65ee3f434be4cf9f99e07064d191df5be6 (patch) | |
tree | 8910cd0ab91b1ca5c7a66de722c23b699c6e8b72 /trunk/2.6.21/21665_linux-2.6-disable-netback-checksum.patch | |
parent | Patch rename (diff) | |
download | xen-3f859c65ee3f434be4cf9f99e07064d191df5be6.tar.gz xen-3f859c65ee3f434be4cf9f99e07064d191df5be6.tar.bz2 xen-3f859c65ee3f434be4cf9f99e07064d191df5be6.zip |
Initial 2.6.21 xen-patches, based on kernel-xen-2.6-2.6.21-2936.fc8 and 2.6.20 Gentoo patches
svn path=/patches/; revision=43
Diffstat (limited to 'trunk/2.6.21/21665_linux-2.6-disable-netback-checksum.patch')
-rw-r--r-- | trunk/2.6.21/21665_linux-2.6-disable-netback-checksum.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/trunk/2.6.21/21665_linux-2.6-disable-netback-checksum.patch b/trunk/2.6.21/21665_linux-2.6-disable-netback-checksum.patch new file mode 100644 index 0000000..4ac6f0b --- /dev/null +++ b/trunk/2.6.21/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); + |