ipv6 flowlabel: Convert np->ipv6_fl_list to RCU.
Subsystems (4)
RFC 3/4 ipv6 flowlabel: Convert np->ipv6_fl_list to RCU.
Signed-off-by YOSHIFUJI Hideaki <[email protected]>
--- include/linux/ipv6.h | 2 +- include/net/ipv6.h | 1 + net/ipv6/ip6_flowlabel.c | 72 +++++++++++++++++++++++++--------------------- 3 files changed, 42 insertions(+), 33 deletions(-)
include/linux/ipv6.h +1 -1
@@ -214,7 +214,7 @@ struct ipv6_pinfo {struct ipv6_mc_socklist __rcu *ipv6_mc_list;struct ipv6_ac_socklist *ipv6_ac_list; -struct ipv6_fl_socklist *ipv6_fl_list; +struct ipv6_fl_socklist __rcu *ipv6_fl_list;struct ipv6_txoptions *opt;struct sk_buff *pktoptions;
include/net/ipv6.h +1 -0
@@ -239,6 +239,7 @@ struct ip6_flowlabel {struct ipv6_fl_socklist {struct ipv6_fl_socklist *next;struct ip6_flowlabel *fl; +struct rcu_head rcu; };extern struct ip6_flowlabel *fl6_sock_lookup (struct sock *sk,__be32 label);
net/ipv6/ip6_flowlabel.c +40 -32
157 lines not on this page · raw message
Signature · 1 line
1.7.9.5
From: YOSHIFUJI Hideaki <[email protected]>
Date: Thu, 31 Jan 2013 04:27:52 +0900
Quoted 1 line
Signed-off-by YOSHIFUJI Hideaki <[email protected]>
Applied.