Date: Wed, 25 Apr 2007 07:37:06 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Alan Garfield <alan@fromorbit.com> Cc: Yar Tikhiy <yar@comp.chem.msu.su>, freebsd-net@freebsd.org Subject: Re: Corrupt packets in Jnet (Was: Re: rtentry and rtrequest) Message-ID: <20070424213706.GA1736@turion.vk2pj.dyndns.org> In-Reply-To: <20070423145429.GF66604@comp.chem.msu.su> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <yar@comp.chem.msu.su> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070424213706.GA1736>