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] net-csum.patch

To: Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] net-csum.patch
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 16 Jan 2007 22:19:51 +0000
Delivery-date: Tue, 16 Jan 2007 14:20:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45AD13B0.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc5vHCnrxdc8qWvEduPxAANk04WTA==
Thread-topic: [Xen-devel] net-csum.patch
User-agent: Microsoft-Entourage/11.3.2.061213
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" <jbeulich@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

<Prev in Thread] Current Thread [Next in Thread>