On Thu, Nov 7, 2013 at 9:53 AM, Guolin Yang <guolin.y...@gmail.com> wrote:

>  Thank you for fixing this.
>
> One question: If add successful but query fails, are there any cleanup
> need to be done here
> or it will be done in later loop?
>


>From my understanding, there is no cleanup to do, the pointers in the
"ofproto_port" will be 'memset' to NULL if query fails.



> Especially if query is temporary failure will the current code lead to
> irrecoverable state for
> the port?
>

I may not fully understand the question, but I don't think it will.  All
invocation to the "ofproto_port_query_by_name" check the return value and
react accordingly.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to