WSL2-Linux-Kernel/net/decnet
Eric Dumazet 0d89d7944f [DECNET] ROUTE: fix rcu_dereference() uses in /proc/net/decnet_cache
In dn_rt_cache_get_next(), no need to guard seq->private by a
rcu_dereference() since seq is private to the thread running this
function. Reading seq.private once (as guaranted bu rcu_dereference())
or several time if compiler really is dumb enough wont change the
result.
 
But we miss real spots where rcu_dereference() are needed, both in
dn_rt_cache_get_first() and dn_rt_cache_get_next()

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-10 22:35:21 -08:00
..
netfilter [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -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 [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
dn_dev.c [DECNET]: dn_nl_deladdr() almost always returns no error 2007-11-30 23:43:31 +11:00
dn_fib.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
dn_neigh.c [DECNET]: Make decnet code use the seq_open_private() 2007-10-10 16:55:34 -07:00
dn_nsp_in.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
dn_nsp_out.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
dn_route.c [DECNET] ROUTE: fix rcu_dereference() uses in /proc/net/decnet_cache 2008-01-10 22:35:21 -08:00
dn_rules.c [INET]: Small possible memory leak in FIB rules 2007-11-10 22:12:03 -08:00
dn_table.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
dn_timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl_net_decnet.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -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>