ofproto-dpif: Make stats update thread safe.
authorAlex Wang <alexw@nicira.com>
Wed, 9 Oct 2013 04:30:34 +0000 (04:30 +0000)
committerEthan Jackson <ethan@nicira.com>
Wed, 9 Oct 2013 00:57:32 +0000 (17:57 -0700)
commit0da3c61b530b431f73c47f491022a458030f8f6a
treecf245b351a953dac43ed554143be8f34f94096d2
parent91d6cd12da72f9f0f510c9c66ecb1772197f4678
ofproto-dpif: Make stats update thread safe.

This commit makes the update of 'stats' member in ofproto_dpif
struct thread safe.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c