summaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorJan Beulich2013-05-29 14:33:51 +0200
committerPablo Neira Ayuso2013-05-29 17:50:39 +0200
commita70b9641e6a90d6821e4354a2c2fede74015db29 (patch)
tree1b916dfe8fed15f83d3d617b300ff540f6d95d6e /net/netfilter
parentnetfilter: xt_LOG: fix mark logging for IPv6 packets (diff)
downloadkernel-qcow2-linux-a70b9641e6a90d6821e4354a2c2fede74015db29.tar.gz
kernel-qcow2-linux-a70b9641e6a90d6821e4354a2c2fede74015db29.tar.xz
kernel-qcow2-linux-a70b9641e6a90d6821e4354a2c2fede74015db29.zip
ipvs: ip_vs_sh: fix build
kfree_rcu() requires offsetof(..., rcu_head) < 4096, which can get violated with a sufficiently high CONFIG_IP_VS_SH_TAB_BITS. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/ipvs/ip_vs_sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_sh.c b/net/netfilter/ipvs/ip_vs_sh.c
index 0df269d7c99f..a65edfe4b16c 100644
--- a/net/netfilter/ipvs/ip_vs_sh.c
+++ b/net/netfilter/ipvs/ip_vs_sh.c
@@ -67,8 +67,8 @@ struct ip_vs_sh_bucket {
#define IP_VS_SH_TAB_MASK (IP_VS_SH_TAB_SIZE - 1)
struct ip_vs_sh_state {
- struct ip_vs_sh_bucket buckets[IP_VS_SH_TAB_SIZE];
struct rcu_head rcu_head;
+ struct ip_vs_sh_bucket buckets[IP_VS_SH_TAB_SIZE];
};
/*