aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-08-22 03:36:37 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:55:34 -0400
commitefa741656e9ebf5fd6e0432b0d1b3c7f156392d3 (patch)
tree18ad158b5972904bd9ba930e5c6ec49181f3b400 /include
parentfe1cb10873b44cf89082465823ee6d4d4ac63ad7 (diff)
[NETFILTER]: x_tables: remove unused size argument to check/destroy functions
The size is verified by x_tables and isn't needed by the modules anymore. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/x_tables.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 9cef0e91542b..9d97102a9347 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -174,12 +174,10 @@ struct xt_match
174 const void *ip, 174 const void *ip,
175 const struct xt_match *match, 175 const struct xt_match *match,
176 void *matchinfo, 176 void *matchinfo,
177 unsigned int matchinfosize,
178 unsigned int hook_mask); 177 unsigned int hook_mask);
179 178
180 /* Called when entry of this type deleted. */ 179 /* Called when entry of this type deleted. */
181 void (*destroy)(const struct xt_match *match, void *matchinfo, 180 void (*destroy)(const struct xt_match *match, void *matchinfo);
182 unsigned int matchinfosize);
183 181
184 /* Called when userspace align differs from kernel space one */ 182 /* Called when userspace align differs from kernel space one */
185 int (*compat)(void *match, void **dstptr, int *size, int convert); 183 int (*compat)(void *match, void **dstptr, int *size, int convert);
@@ -221,12 +219,10 @@ struct xt_target
221 const void *entry, 219 const void *entry,
222 const struct xt_target *target, 220 const struct xt_target *target,
223 void *targinfo, 221 void *targinfo,
224 unsigned int targinfosize,
225 unsigned int hook_mask); 222 unsigned int hook_mask);
226 223
227 /* Called when entry of this type deleted. */ 224 /* Called when entry of this type deleted. */
228 void (*destroy)(const struct xt_target *target, void *targinfo, 225 void (*destroy)(const struct xt_target *target, void *targinfo);
229 unsigned int targinfosize);
230 226
231 /* Called when userspace align differs from kernel space one */ 227 /* Called when userspace align differs from kernel space one */
232 int (*compat)(void *target, void **dstptr, int *size, int convert); 228 int (*compat)(void *target, void **dstptr, int *size, int convert);