[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.