Re: [ovs-dev] [PATCH 7/8] ofproto-dpif: Make packet_ins thread safe.

2013-08-05 Thread Ben Pfaff
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 Acked-by: Ben Pfaff We have a couple of instances of code like this: if (ofproto->n_pins) {

[ovs-dev] [PATCH 7/8] ofproto-dpif: Make packet_ins thread safe.

2013-08-03 Thread Ethan Jackson
This patch makes packet_ins thread safe by handing responsibility for them to ofproto-dpif. Signed-off-by: Ethan Jackson --- lib/ofp-util.h |2 ++ ofproto/ofproto-dpif-xlate.c | 21 --- ofproto/ofproto-dpif.c | 60 +++---