[Bridge] [PATCH] br_multicast: Replace rcu_assign_pointer() with RCU_INIT_POINTER()
David Miller
davem at davemloft.net
Fri Aug 22 19:28:31 UTC 2014
From: Andreea-Cristina Bernat <bernat.ada at gmail.com>
Date: Fri, 22 Aug 2014 16:06:09 +0300
> The use of "rcu_assign_pointer()" is NULLing out the pointer.
> According to RCU_INIT_POINTER()'s block comment:
> "1. This use of RCU_INIT_POINTER() is NULLing out the pointer"
> it is better to use it instead of rcu_assign_pointer() because it has a
> smaller overhead.
...
> Signed-off-by: Andreea-Cristina Bernat <bernat.ada at gmail.com>
Applied.
More information about the Bridge
mailing list