diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-10-23 13:51:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-24 09:07:55 -0400 |
commit | ef9a9d1183b36fbf3de327f44596533b770c3005 (patch) | |
tree | 64a3431233a9c99fe471570aa2ce660e5beaf8ad /include/net/ipip.h | |
parent | b37b62fea1d1bf68ca51818f8eb1035188efd030 (diff) |
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/ipip.h')
-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 | |||
45 | struct ip_tunnel_prl_entry *next; | 45 | struct ip_tunnel_prl_entry *next; |
46 | __be32 addr; | 46 | __be32 addr; |
47 | u16 flags; | 47 | u16 flags; |
48 | struct rcu_head rcu_head; | ||
48 | }; | 49 | }; |
49 | 50 | ||
50 | #define IPTUNNEL_XMIT() do { \ | 51 | #define IPTUNNEL_XMIT() do { \ |