dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/net/decnet
Stephen Hemminger a9b3cd7f32 rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
When assigning a NULL value to an RCU protected pointer, no barrier
is needed. The rcu_assign_pointer, used to handle that but will soon
change to not handle the special case.

Convert all rcu_assign_pointer of NULL value.

//smpl
@@ expression P; @@

- rcu_assign_pointer(P, NULL)
+ RCU_INIT_POINTER(P, NULL)

// </smpl>

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-08-02 04:29:23 -07:00
..
netfilter
Kconfig
Makefile
README
TODO
af_decnet.c
dn_dev.c rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER 2011-08-02 04:29:23 -07:00
dn_fib.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
dn_neigh.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
dn_nsp_in.c
dn_nsp_out.c
dn_route.c
dn_rules.c
dn_table.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
dn_timer.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
sysctl_net_decnet.c

README

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>