From: Keir Fraser Subject: Re: net-csum.patch Date: Tue, 16 Jan 2007 22:19:51 +0000 Message-ID: References: <45AD13B0.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45AD13B0.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Looks like our life has been made easier. I suggest simply calling skb_checksum_setup() as defined (by us) in net/core/dev.c. skb_checksum_setup() will need some fixing up for 2.6.20-rc5 too -- perhaps just to use CHECKUM_PARTIAL instead of CHECKSUM_HW. I'd call it just before the first use of hdr->check in each of tcp_manip_pkt() and udp_manip_pkt(). Of course this certainly needs testing, as that's the only way you can have any confidence that changes to header mangling actually work. -- Keir On 16/1/07 5:04 pm, "Jan Beulich" wrote: > Would it be possible for the author/maintainer of this patch to suggest how > the > same effect is to be achieved on 2.6.20-rc5? ip_nat_cheat_check() is gone, and > I have no clue... > > > Thanks, Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel