Re: [ovs-dev] [PATCH 2/5] ofproto-dpif: Make stats update thread safe.

2013-10-01 Thread Alex Wang
Yes, I'll add it, Thanks On Tue, Oct 1, 2013 at 3:49 PM, Ben Pfaff wrote: > On Tue, Oct 01, 2013 at 01:36:12PM -0700, Alex Wang wrote: > > This commit makes the update of 'stats' member in ofproto_dpif > > struct thread safe. > > > > Signed-off-by: Alex Wang > > Should this also annotate the '

Re: [ovs-dev] [PATCH 2/5] ofproto-dpif: Make stats update thread safe.

2013-10-01 Thread Ben Pfaff
On Tue, Oct 01, 2013 at 01:36:12PM -0700, Alex Wang wrote: > This commit makes the update of 'stats' member in ofproto_dpif > struct thread safe. > > Signed-off-by: Alex Wang Should this also annotate the 'stats' member as OVS_GUARDED? Thanks, Ben. _

[ovs-dev] [PATCH 2/5] ofproto-dpif: Make stats update thread safe.

2013-10-01 Thread Alex Wang
This commit makes the update of 'stats' member in ofproto_dpif struct thread safe. Signed-off-by: Alex Wang --- ofproto/ofproto-dpif.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 6420b60..15c4dd3 100644 --- a/ofproto/ofproto