Re: |PATCH net-next] net: treewide use of RCU_INIT_POINTER
From: David Miller <davem@davemloft.net> Date: 2011-11-24 00:08:22
From: Eric Dumazet <redacted>
Date: Wed, 23 Nov 2011 18:09:32 +0100
rcu_assign_pointer(ptr, NULL) can be safely replaced by
RCU_INIT_POINTER(ptr, NULL)
(old rcu_assign_pointer() macro was testing the NULL value and could
omit the smp_wmb(), but this had to be removed because of compiler
warnings)
Signed-off-by: Eric Dumazet <redacted>