On 12/08/2024 16:11, Joshua Lant wrote:
On morello architecture, use of kernel pointers in the uapi structures is not permitted, due to different alignment requirements. Modify these to be unsigned longs.
Signed-off-by: Joshua Lant joshualant@gmail.com
include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h b/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h index ff6599494fe6..9bdc308d70d0 100644 --- a/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h +++ b/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h @@ -32,7 +32,8 @@ struct ipt_clusterip_tgt_info { __u32 hash_initval; /* Used internally by the kernel */
- struct clusterip_config *config;
- /* Corresponds to struct clusterip_config * */
- unsigned long config;
This struct has become unused since support for clusterip was dropped [1]. I assume that the uapi header wasn't removed yet to avoid potential breakage, but I think we can ignore its contents (i.e. drop this patch).
Kevin
[1] https://lore.kernel.org/all/20230118123208.17167-6-fw@strlen.de/
}; #endif /*_IPT_CLUSTERIP_H_target*/