ipv6 sit: RCU conversion phase I

SIT tunnels use one rwlock to protect their prl entries.

This first patch adds RCU locking for prl management,
with standard call_rcu() calls.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric Dumazet
2009-10-23 17:51:26 +00:00
committed by David S. Miller
parent b37b62fea1
commit ef9a9d1183
2 changed files with 51 additions and 23 deletions

View File

@ -45,6 +45,7 @@ struct ip_tunnel_prl_entry
struct ip_tunnel_prl_entry *next;
__be32 addr;
u16 flags;
struct rcu_head rcu_head;
};
#define IPTUNNEL_XMIT() do { \