[Openais] Re: recent segfault

Steven Dake sdake at mvista.com
Thu Feb 3 16:18:03 PST 2005


Mark
The patch looks good.  I'll run with random drop overnight with my hacks
err patches to fix various bugs I have sitting around :)

Thanks
-steve

On Thu, 2005-02-03 at 17:06, Mark Haverkamp wrote:
> 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.
> 




More information about the Openais mailing list