[ovs-dev] [PATCH] net/openvswitch/flow.c: Replace rcu_dereference() with rcu_access_pointer()

David Miller davem at davemloft.net
Fri Aug 22 19:28:20 UTC 2014


From: Andreea-Cristina Bernat <bernat.ada at gmail.com>
Date: Sun, 17 Aug 2014 16:29:43 +0300

> The "rcu_dereference()" call is used directly in a condition.
> Since its return value is never dereferenced it is recommended to use
> "rcu_access_pointer()" instead of "rcu_dereference()".
> Therefore, this patch makes the replacement.
 ...
> Signed-off-by: Andreea-Cristina Bernat <bernat.ada at gmail.com>

Applied.



More information about the dev mailing list