l2tp: Convert rwlock to RCU
authorJames Chapman <jchapman@katalix.com>
Fri, 2 Apr 2010 06:19:16 +0000 (06:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:56:06 +0000 (14:56 -0700)
Reader/write locks are discouraged because they are slower than spin
locks. So this patch converts the rwlocks used in the per_net structs
to rcu.

Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found