Date: Wed, 25 Apr 2007 03:19:31 +0400 From: Yar Tikhiy <yar@comp.chem.msu.su> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: freebsd-net@freebsd.org, Alan Garfield <alan@fromorbit.com> Subject: Re: Corrupt packets in Jnet (Was: Re: rtentry and rtrequest) Message-ID: <20070424231930.GD31094@comp.chem.msu.su> In-Reply-To: <20070424213706.GA1736@turion.vk2pj.dyndns.org> References: <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> <20070424213706.GA1736@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 25, 2007 at 07:37:06AM +1000, Peter Jeremy wrote: > 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? This is a pretty good question! I don't remember seeing any synchronization with the SP in jnet_start() so it cannot be sure the SP has finished reading the previous packet. > Is jnet's handling of multiple mbufs making the SP think there are > multiple packets? It shouldn't. The data from all mbufs in the chain are just written to the buffer to form the whole packet in it. > >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. I meant using ssh(1) on the SP and sshd(8) on an external FreeBSD host just to be 100% sure that combination works, too. -- Yar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070424231930.GD31094>