--- iptables-1.4.0/include/linux/netfilter_ipv4/ip_tables.h +++ iptables-1.4.0/include/linux/netfilter_ipv4/ip_tables.h @@ -15,7 +15,6 @@ #ifndef _IPTABLES_H #define _IPTABLES_H -#include #include #include @@ -187,7 +186,7 @@ struct ipt_replace /* Number of counters (must be equal to current number of entries). */ unsigned int num_counters; /* The old entries' counters. */ - struct xt_counters __user *counters; + struct xt_counters *counters; /* The entries (hang off end: not really an array). */ struct ipt_entry entries[0]; --- iptables-1.4.0/include/linux/netfilter_ipv6/ip6_tables.h +++ iptables-1.4.0/include/linux/netfilter_ipv6/ip6_tables.h @@ -15,7 +15,6 @@ #ifndef _IP6_TABLES_H #define _IP6_TABLES_H -#include #include #include @@ -247,7 +246,7 @@ struct ip6t_replace /* Number of counters (must be equal to current number of entries). */ unsigned int num_counters; /* The old entries' counters. */ - struct xt_counters __user *counters; + struct xt_counters *counters; /* The entries (hang off end: not really an array). */ struct ip6t_entry entries[0];