Re: [ovs-dev] [PATCH 4/7] ofproto: Move 'rule->used' to the provider.

2014-02-11 Thread Ben Pfaff
On Tue, Feb 11, 2014 at 04:30:46PM -0800, Jarno Rajahalme wrote: > Rule's 'used' timestamp is updated at the same time with the other > stats. So far the 'used' has been updated without proper protection, > which may lead to 'tearing' in 32-bit architectures, resulting in an > incorrect 'used' tim

[ovs-dev] [PATCH 4/7] ofproto: Move 'rule->used' to the provider.

2014-02-11 Thread Jarno Rajahalme
Rule's 'used' timestamp is updated at the same time with the other stats. So far the 'used' has been updated without proper protection, which may lead to 'tearing' in 32-bit architectures, resulting in an incorrect 'used' timestamp. While in practice this is highly improbable, it is still better