ipv6 sit: RCU conversion phase I
Subsystems (3)
PATCH 1/2 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 <[email protected]>
--- include/net/ipip.h | 1 net/ipv6/sit.c | 73 +++++++++++++++++++++++++++++-------------- 2 files changed, 51 insertions(+), 23 deletions(-)
include/net/ipip.h +1 -0
@@ -45,6 +45,7 @@ struct ip_tunnel_prl_entrystruct ip_tunnel_prl_entry *next;__be32 addr;u16 flags; +struct rcu_head rcu_head; };#define IPTUNNEL_XMIT () do { \
net/ipv6/sit.c +50 -23
164 lines not on this page · raw message