Thanks Ben, it makes sense.

I'm all good with this patch.




On Thu, Jul 18, 2013 at 3:00 PM, Ben Pfaff <b...@nicira.com> wrote:

> On Thu, Jul 18, 2013 at 02:44:54PM -0700, Alex Wang wrote:
> > > >
> > > >
> > > > Is there requirement that the "* data_" must not be free'ed before
> > > > asynchronously written to 'fd'?
> > >
> > > That's right too.  (Do you see a mistake here regarding that rule?)
> >
> > I didn't see any mistake, since this has not been used. But would it
> > make sense to state that in the comment of "async_append_write()"?
>
> Oh, I'm sorry, I misread your question.  Let me try again.
>
> The caller may modify or free the copy of the data that it provides,
> because async_append_write() makes its own copy inside ap->byteq.
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to