linux-sg2042/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 decnet: Reduce switch/case indent 2011-07-01 16:11:15 -07:00
Kconfig [NET]: Rethink mark field in struct flowi 2006-12-02 21:21:39 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
TODO Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
af_decnet.c decnet: Reduce switch/case indent 2011-07-01 16:11:15 -07:00
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 decnet: Reduce switch/case indent 2011-07-01 16:11:15 -07:00
dn_nsp_out.c decnet: Convert to use flowidn where applicable. 2011-03-12 15:08:55 -08:00
dn_route.c net: Add ->neigh_lookup() operation to dst_ops 2011-07-18 00:40:17 -07:00
dn_rules.c decnet: Convert to use flowidn where applicable. 2011-03-12 15:08:55 -08:00
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 decnet: Reduce switch/case indent 2011-07-01 16:11:15 -07:00

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>