[Openais] Re: recent segfault
Mark Haverkamp
markh at osdl.org
Thu Feb 3 16:06:43 PST 2005
On Thu, 2005-02-03 at 16:20 -0700, Steven Dake wrote:
> >
> > > Something like:
> > >
> > > if (mcast->continuation && (assembly->index == 0)) {
> > > assembly->index += msg_lens[0];
> > > mcast->continuation = 0;
> > > iov_delv.iov_base = &assembly->data[msg_lens[0]];
> > > iov_delv.iov_len = msg_lens[1];
> > > continue;
> > > }
How about this, I got rid of the continue and the extra setting of the
iov_delv. Using a local copy of continuation.
--
Mark Haverkamp <markh at osdl.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: totempg.patch
Type: text/x-patch
Size: 6769 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20050203/d0f5cf0e/totempg-0001.bin
More information about the Openais
mailing list