On Thu, Dec 05, 2013 at 05:02:00PM -0800, Ben Pfaff wrote:
> Anything inside vlog_init__() that tried to log a message was going to
> deadlock, since it would hit pthread_once() recursively and wait for the
> previous call to complete.  Unfortunately, there was a VLOG_ERR call inside
> vlog_init__(), only called in the corner case where the system's clock was
> wrong.
> 
> This fixes the problem by rearranging code so that the logging isn't
> inside the "once-only" region.
> 
> Found by inspection.
> 
> Signed-off-by: Ben Pfaff <b...@nicira.com>

I sent out a copy of this in a new thread, since it's really not related
to the other patch that has received review and been applied already.
Please review it in the new thread.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to