Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix mac learning deadlock.

2013-09-03 Thread Justin Pettit
Acked-by: Justin Pettit On Sep 3, 2013, at 5:40 PM, Ethan Jackson wrote: > xlate_normal() held the mac_learning lock while calling > output_normal(). When running with patch ports, this could cause > xlate_actions() to be called again, possibly attempting to take a > write lock on the same l

[ovs-dev] [PATCH] ofproto-dpif-xlate: Fix mac learning deadlock.

2013-09-03 Thread Ethan Jackson
xlate_normal() held the mac_learning lock while calling output_normal(). When running with patch ports, this could cause xlate_actions() to be called again, possibly attempting to take a write lock on the same learning table causing a deadlock. This patch solves the problem by holding the lock fo