Re: [ovs-dev] [PATCH 12/18] lib/netdev: Do not use atomics when not needed.

2014-08-28 Thread Ben Pfaff
On Fri, Aug 22, 2014 at 01:58:23PM -0700, Jarno Rajahalme wrote: > All access to struct netdev_registered_class ref_cnt member was done > with netdev_class_mutex held, so it does not need to be an atomic > variable. > > Signed-off-by: Jarno Rajahalme Good catch. Thank you. _

[ovs-dev] [PATCH 12/18] lib/netdev: Do not use atomics when not needed.

2014-08-22 Thread Jarno Rajahalme
All access to struct netdev_registered_class ref_cnt member was done with netdev_class_mutex held, so it does not need to be an atomic variable. Signed-off-by: Jarno Rajahalme --- lib/netdev.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/lib/ne