Use ovs_refcount_unref_relaxed.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 7 Jul 2014 20:18:46 +0000 (13:18 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 7 Jul 2014 20:22:57 +0000 (13:22 -0700)
commit24f8381214966e90819bf4a9ecabf076cbfc1b08
tree21563e7ce162f4769d191c08d1e78cafd3a83759
parent6969766b7557b33e7588abe5956c21c23450110c
Use ovs_refcount_unref_relaxed.

After a quick analysis, in most cases the access to refcounted objects
is clearly protected either with an explicit lock/mutex, or RCU. there
are only a few places where I left a call to ovs_refcount_unref().
Upon closer analysis it may well be that those could also use the
relaxed form.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/bfd.c
lib/cfm.c
lib/dpif-netdev.c
lib/lacp.c
lib/mcast-snooping.c
lib/stp.c
ofproto/bond.c
ofproto/netflow.c
ofproto/ofproto-dpif-ipfix.c
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto.c