[DECnet]: Use RCU locking in dn_rules.c
authorSteven Whitehouse <steve@chygwyn.com>
Tue, 21 Mar 2006 06:43:28 +0000 (22:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:43:28 +0000 (22:43 -0800)
commitecba320f2e95c9a0c35011d1ecb1db4419980536
treea994a09e48452db4f1b251d5e5b210424c7dbe92
parentc60992db464bc3c459a6e2d3694fe1ae1a5ec784
[DECnet]: Use RCU locking in dn_rules.c

As per Robert Olsson's patch for ipv4, this is the DECnet
version to keep the code "in step". It changes the list
of rules to use RCU rather than an rwlock.

Inspired-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: Steven Whitehouse <steve@chygwyn.com>
Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_rules.c