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] [XM-TEST] Use explicit (IP id==packet size) on h

To: James Dykman <dykman@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [XM-TEST] Use explicit (IP id==packet size) on hping2 tests to avoid problems with IP id==0
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Thu, 18 May 2006 15:42:59 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 May 2006 15:43:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OF5F3D4DA4.0866EA33-ON85257172.0076DC9C-85257172.007862C1@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>
References: <OF5F3D4DA4.0866EA33-ON85257172.0076DC9C-85257172.007862C1@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
James Dykman wrote:

Jim, will this not be a cause potential corruption - if we have incoming
fragments belonging to different packets with the same ipid
there is no way for the reassembly code to distinguish them.
Checksum failures might catch some, but that is no guarantee of
safe delivery.



That possibility exists in the tests as they are today... hping2 is assigning IP ids based on
its PID, completely independent of the kernel.

1. This might be fine for temporary purposes (although
   we send multiple packets of the same size in consecutive
   order, so only serialization is helping us in those
   tests, correct? Perhaps something that would be unique
   at least across the xmtest set of hpings for sure?)

If you want to solve that problem TOO, then we need to replace hping2. Any suggestions?

How about for now removing the hping tests which involve
sends of > MTU size, and using ping and netperf udp/tcp tests
to replace those (underway)?

This is just to avoid another round of bugs further down
the road when we get to SMP testing in a serious way.

thanks,
Nivedita


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