decnet: use RCU to find network devices
authorstephen hemminger <shemminger@vyatta.com>
Tue, 10 Nov 2009 07:54:53 +0000 (07:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Nov 2009 06:26:31 +0000 (22:26 -0800)
commitfa918602b61a71b4a9f47861b7e65c70258516c1
tree052575c7add697afb550a025695a221c6680a046
parente576b9ef41c2c1b13e0c123b6e9d0589723c68bf
decnet: use RCU to find network devices

When showing device statistics use RCU rather than read_lock(&dev_base_lock)
Compile tested only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_dev.c