From: Keir Fraser Subject: Re: skb_checksum_setup and NAT Date: Thu, 28 Sep 2006 18:35:27 +0100 Message-ID: References: <1159459960.9340.10.camel@leto.intern.saout.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1159459960.9340.10.camel@leto.intern.saout.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christophe Saout , Xen Devel List-Id: xen-devel@lists.xenproject.org On 28/9/06 17:12, "Christophe Saout" wrote: > Why do you need this mess? Isn't the normal ip_summed sufficient? The > patches don't contain any annotations. The Linux network stack doesn't expect to be able to receive packets that have their protocol-checksum field empty. So we have to add extra packet flags to signal this situation. It does create something of a mess unless all parts of the network stack know what's going on. I heard that the networking maintainers were working on a more generic scheme that we should be able to make use of. Apart from that, the stack needs to make sure that the proto_csum_blank field is cleared whenever it fills in the full checksum. For now, if it causes you problems and you just want stuff to work, you can run ethtool on your interface in domU: 'ethtool -K eth0 tx off'. -- Keir