commit | 94767632623c7bf5b16a0cf963ec93a8ad9acca4 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Sep 15 20:25:34 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 16 21:58:44 2010 -0700 |
tree | 2d6f3328ac632de5b4cd5c35a79a8bc270f091fe | |
parent | caeda9b926c608702c99f3432aae2c24298c3c1d [diff] |
ip6tnl: get rid of ip6_tnl_lock As RTNL is held while doing tunnels inserts and deletes, we can remove ip6_tnl_lock spinlock. My initial RCU conversion was conservative and converted the rwlock to spinlock, with no RTNL requirement. Use appropriate rcu annotations and modern lockdep checks as well. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>