From owner-freebsd-net@FreeBSD.ORG Tue Apr 24 21:37:32 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5F0B16A402 for ; Tue, 24 Apr 2007 21:37:32 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 5F39013C44C for ; Tue, 24 Apr 2007 21:37:29 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l3OLb7mh003589; Wed, 25 Apr 2007 07:37:07 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l3OLb6Y3003588; Wed, 25 Apr 2007 07:37:06 +1000 (EST) (envelope-from peter) Date: Wed, 25 Apr 2007 07:37:06 +1000 From: Peter Jeremy To: Alan Garfield Message-ID: <20070424213706.GA1736@turion.vk2pj.dyndns.org> References: <1176972863.4177.7.camel@hiro.auspc.com.au> <20070419093847.GC60301@comp.chem.msu.su> <1176976273.4177.17.camel@hiro.auspc.com.au> <20070419113842.GE60301@comp.chem.msu.su> <1176990600.4177.26.camel@hiro.auspc.com.au> <20070419175331.GA5999@comp.chem.msu.su> <1177077805.4063.7.camel@hiro.auspc.com.au> <20070420233619.GC52136@comp.chem.msu.su> <1177287886.4075.15.camel@hiro.auspc.com.au> <20070423145429.GF66604@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <20070423145429.GF66604@comp.chem.msu.su> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Yar Tikhiy , freebsd-net@freebsd.org Subject: Re: Corrupt packets in Jnet (Was: Re: rtentry and rtrequest) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2007 21:37:32 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Apr-23 18:54:30 +0400, Yar Tikhiy wrote: >Perhaps the bug is triggered when the outgoing packet consists of >multiple mbufs. Given that we are effectivly dealing with a shared memory block, how does the SP now when the server has finished writing and vice versa? Is jnet's handling of multiple mbufs making the SP think there are multiple packets? >I'd also test if the ssh from SP can work OK with a FreeBSD host >(the same FreeBSD version as on the platform side would be the best) >via the external Ethernet. It definitely can. I haven't used anything else to talk to my SP. >Your jnet_start() routine fills the tail of the buffer w/zeros >already, doesn't it? I would also suggest padding to 256 bytes with zeroes. --=20 Peter Jeremy --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGLniC/opHv/APuIcRAv4wAKC+GJUrr0S8RM/5Y+3extUuEp4hewCffl8E I1B2K13vPJ+G5TKXPDxHB8w= =RY5/ -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--