commit | 1507850b400492fdedc3064d3b8db5e9a1c871e3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Sep 15 11:07:53 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 15 19:29:46 2010 -0700 |
tree | 0f0039380a7c2ec30b3bb114b68edba7865762d5 | |
parent | b7285b7912776a4492744949c747c88d539006fa [diff] |
gre: get rid of ipgre_lock As RTNL is held while doing tunnels inserts and deletes, we can remove ipgre_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>