On Sat, Aug 03, 2013 at 06:42:09PM -0700, Ethan Jackson wrote: > This patch makes packet_ins thread safe by handing responsibility for > them to ofproto-dpif. > > Signed-off-by: Ethan Jackson <[email protected]>
Acked-by: Ben Pfaff <[email protected]> We have a couple of instances of code like this: if (ofproto->n_pins) { pins = ofproto->pins; list_moved(&pins); list_init(&ofproto->pins); ofproto->n_pins = 0; } else { list_init(&pins); } now. Maybe add a list_steal() or list_swap() or something? _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
