commit | 2cfa5a0471fef43fda0b7bd87e3a5e4dbadb7809 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Nov 23 07:09:32 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 23 18:48:19 2011 -0500 |
tree | 0603cf740823a45337e2b82ba63bae96a6e75186 | |
parent | 8c2152286aabe753519d7627a2992625b97e4b20 [diff] |
net: treewide use of RCU_INIT_POINTER 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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>