commit | e02d494d2c60746ee6583132904ac1791f5bc9a6 | [log] [tgz] |
---|---|---|
author | James Chapman <jchapman@katalix.com> | Fri Apr 02 06:19:16 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 03 14:56:06 2010 -0700 |
tree | 68a3c19ce392998693b83f7db96c4ed1bc140406 | |
parent | 309795f4bec2d69cd507a631f82065c2198a0825 [diff] |
l2tp: Convert rwlock to RCU 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>