lib/rstp: Use ovs_refcount_unref_relaxed.
authorDaniele Venturino <daniele.venturino@m3s.it>
Wed, 10 Sep 2014 16:28:01 +0000 (16:28 +0000)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 10 Sep 2014 16:23:55 +0000 (09:23 -0700)
commitf59200676d46ab907620b7e92cb9c668cc04f0f1
tree91bc7e4221a22e0efdb0bc4ce17069b38d6fad87
parent7ac97d76e1dae1f98678cbc491a45005afb92c9c
lib/rstp: Use ovs_refcount_unref_relaxed.

Access to RSTP and RSTP port objects is protected by a mutex, so the
refcount unref operation can have relaxed memory order semantics (See
commit 24f8381214966e90819bf4a9ecabf076cbfc1b08).

Signed-off by: Daniele Venturino <daniele.venturino@m3s.it>
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/rstp.c