Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a70b9641 authored by Jan Beulich's avatar Jan Beulich Committed by Pablo Neira Ayuso
Browse files

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: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent d660164d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -67,8 +67,8 @@ struct ip_vs_sh_bucket {
#define IP_VS_SH_TAB_MASK               (IP_VS_SH_TAB_SIZE - 1)
#define IP_VS_SH_TAB_MASK               (IP_VS_SH_TAB_SIZE - 1)


struct ip_vs_sh_state {
struct ip_vs_sh_state {
	struct ip_vs_sh_bucket		buckets[IP_VS_SH_TAB_SIZE];
	struct rcu_head			rcu_head;
	struct rcu_head			rcu_head;
	struct ip_vs_sh_bucket		buckets[IP_VS_SH_TAB_SIZE];
};
};


/*
/*