From aa88498f180a1cd9659ba21bceaec7063a8b36fe Mon Sep 17 00:00:00 2001 From: "osdl.net!shemminger" Date: Mon, 14 Mar 2005 19:33:45 +0000 Subject: [PATCH] fix ip_tables for user mode. (Logical change 1.165) --- include/linux/netfilter_ipv4/ip_tables.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/netfilter_ipv4/ip_tables.h b/include/linux/netfilter_ipv4/ip_tables.h index 4f0afc57..7346eada 100644 --- a/include/linux/netfilter_ipv4/ip_tables.h +++ b/include/linux/netfilter_ipv4/ip_tables.h @@ -251,8 +251,9 @@ struct ipt_replace /* Information about old entries: */ /* Number of counters (must be equal to current number of entries). */ unsigned int num_counters; + /* The old entries' counters. */ - struct ipt_counters __user *counters; + struct ipt_counters *counters; /* The entries (hang off end: not really an array). */ struct ipt_entry entries[0];