[ovs-dev] [PATCH] ovs-rcu: Fix typo in comment.

Jarno Rajahalme jrajahalme at nicira.com
Fri May 9 16:11:18 UTC 2014


Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

On May 8, 2014, at 4:47 PM, Ben Pfaff <blp at nicira.com> wrote:

> 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
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list