Searched hist:"1507850 b400492fdedc3064d3b8db5e9a1c871e3" (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | ip_gre.c | diff 1507850b400492fdedc3064d3b8db5e9a1c871e3 Wed Sep 15 13:07:53 CEST 2010 Eric Dumazet <eric.dumazet@gmail.com> 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>
|