[ovs-dev] [PATCH] ovs-rcu: Fix typo in comment.
Ben Pfaff
blp at nicira.com
Thu May 8 23:47:35 UTC 2014
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
lib/ovs-rcu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ovs-rcu.h b/lib/ovs-rcu.h
index 4b451b2..e525307 100644
--- a/lib/ovs-rcu.h
+++ b/lib/ovs-rcu.h
@@ -117,7 +117,7 @@
* Use ovsrcu_get(TYPE, VAR) to read an RCU-protected pointer, e.g. to read the
* pointer variable declared above:
*
- * struct flow *flow = ovsrcu_get(struct flow *, flowp);
+ * struct flow *flow = ovsrcu_get(struct flow *, &flowp);
*
* If the pointer variable is currently protected against change (because
* the current thread holds a mutex that protects it), ovsrcu_get_protected()
--
1.7.10.4
More information about the dev
mailing list