> ovs_mutex_lock(&ofproto->flow_mod_mutex);
> if (ofproto->n_flow_mods) {
> flow_mods = ofproto->flow_mods;
> list_moved(&flow_mods);
> list_init(&ofproto->flow_mods);
> ofproto->n_flow_mods--;
> } else {
> list_init(&flow_mods);
> }
> ovs
On Thu, Aug 01, 2013 at 03:55:47PM -0700, Ethan Jackson wrote:
> Once we have multiple threads running, having each execute flow mods
> created by the learn action won't be tenable. It essentially will
> require us to make the core ofproto module thread safe, which is not
> the direction we want t
Once we have multiple threads running, having each execute flow mods
created by the learn action won't be tenable. It essentially will
require us to make the core ofproto module thread safe, which is not
the direction we want to go. This patch punts on the problem by
handing flow mods to ofproto-