summaryrefslogtreecommitdiffstats
path: root/include/net/ipip.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-10-23 17:51:26 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-24 06:07:55 -0700
commitef9a9d1183b36fbf3de327f44596533b770c3005 (patch)
tree64a3431233a9c99fe471570aa2ce660e5beaf8ad /include/net/ipip.h
parentb37b62fea1d1bf68ca51818f8eb1035188efd030 (diff)
downloadop-kernel-dev-ef9a9d1183b36fbf3de327f44596533b770c3005.zip
op-kernel-dev-ef9a9d1183b36fbf3de327f44596533b770c3005.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h
index 86f1c8b..b3db2fd 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 { \
OpenPOWER on IntegriCloud