WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Network Checksum Removal


On 25 May 2005, at 22:47, Keir Fraser wrote:

This may be a hard one to fix. The problem is probably that the packets coming from domU haven't been checksummed, so a checksum check will fail. We set ip_summed==CHECKSUM_UNNECESSARY, but perhaps the firewall code checksums anyway, or the bridge is clobbering ip_summed when it locally delivers. :-(

Perhaps not so hard....

Try modifying tcp_error() in net/ipv4/netfilter/ip_conntrack_proto_tcp.c.

Wrap the entire if statement that checks for invalid checksum in:
  if ( skb->ip_summed != CHECKSUM_UNNECESSARY ) {
       <checksum checking code goes here>
  }

I expect this should solve the problem. :-)

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel