See commit 24f8381214966e90819bf4a9ecabf076cbfc1b08.
Signed-off by: Daniele Venturino <[email protected]>
---
lib/rstp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/rstp.c b/lib/rstp.c
index b213b44..f2f1dce 100644
--- a/lib/rstp.c
+++ b/lib/rstp.c
@@ -168,7 +168,7 @@ void
rstp_unref(struct rstp *rstp)
OVS_EXCLUDED(rstp_mutex)
{
- if (rstp && ovs_refcount_unref(&rstp->ref_cnt) == 1) {
+ if (rstp && ovs_refcount_unref_relaxed(&rstp->ref_cnt) == 1) {
ovs_mutex_lock(&rstp_mutex);
/* Each RSTP port points back to struct rstp without holding a
--
1.8.1.2
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev