From: Herbert Xu Subject: Re: Final resolution for the checksum problems Daniel P. Berrange 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~} 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);