diff options
author | Julian Anastasov <ja@ssi.bg> | 2013-03-09 23:25:08 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-03-19 21:18:38 +0900 |
commit | b962abdc6531c8de837504ebc98139587162f223 (patch) | |
tree | 6bbf692a799b00be72bbf5e821f74798e3aa8765 /net/netfilter/ipvs/ip_vs_est.c | |
parent | ipvs: fix hashing in ip_vs_svc_hashkey (diff) | |
download | linux-dev-b962abdc6531c8de837504ebc98139587162f223.tar.xz linux-dev-b962abdc6531c8de837504ebc98139587162f223.zip |
ipvs: fix some sparse warnings
Add missing __percpu annotations and make ip_vs_net_id static.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to '')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_est.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_est.c b/net/netfilter/ipvs/ip_vs_est.c index 0fac6017b6fb..6bee6d0c73a5 100644 --- a/net/netfilter/ipvs/ip_vs_est.c +++ b/net/netfilter/ipvs/ip_vs_est.c @@ -56,7 +56,7 @@ * Make a summary from each cpu */ static void ip_vs_read_cpu_stats(struct ip_vs_stats_user *sum, - struct ip_vs_cpu_stats *stats) + struct ip_vs_cpu_stats __percpu *stats) { int i; |