diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-10-23 17:51:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-24 06:07:55 -0700 |
commit | ef9a9d1183b36fbf3de327f44596533b770c3005 (patch) | |
tree | 64a3431233a9c99fe471570aa2ce660e5beaf8ad /include/net | |
parent | b37b62fea1d1bf68ca51818f8eb1035188efd030 (diff) | |
download | linux-ef9a9d1183b36fbf3de327f44596533b770c3005.tar.bz2 |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ipip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h index 86f1c8bd040c..b3db2fd6e61c 100644 --- a/include/net/ipip.h +++ b/include/net/ipip.h @@ -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 { \ |