diff options
author | James Chapman <jchapman@katalix.com> | 2010-04-02 06:19:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 14:56:06 -0700 |
commit | e02d494d2c60746ee6583132904ac1791f5bc9a6 (patch) | |
tree | 68a3c19ce392998693b83f7db96c4ed1bc140406 /net/l2tp/l2tp_eth.c | |
parent | 309795f4bec2d69cd507a631f82065c2198a0825 (diff) | |
download | linux-e02d494d2c60746ee6583132904ac1791f5bc9a6.tar.gz linux-e02d494d2c60746ee6583132904ac1791f5bc9a6.tar.bz2 linux-e02d494d2c60746ee6583132904ac1791f5bc9a6.zip |
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>
Diffstat (limited to 'net/l2tp/l2tp_eth.c')
0 files changed, 0 insertions, 0 deletions