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; };
#endif /*_IPT_CLUSTERIP_H_target*/