diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-18 00:46:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:28 -0500 |
commit | 8956695131b8a7878891667469899d667eb5892b (patch) | |
tree | 1034260f3a5d1e7258cc2193734516a697c83e47 /include | |
parent | 4b4782486d49547bc589b64acfb956bda05f0fca (diff) |
[NETFILTER]: x_tables: make xt_compat_match_from_user usable in iterator macros
Make xt_compat_match_from_user return an int to make it usable in the
*tables iterator macros and kill a now unnecessary wrapper function.
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h index e305f2d0d4d1..616e6f4ede59 100644 --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h | |||
@@ -382,8 +382,8 @@ extern void xt_compat_lock(int af); | |||
382 | extern void xt_compat_unlock(int af); | 382 | extern void xt_compat_unlock(int af); |
383 | 383 | ||
384 | extern int xt_compat_match_offset(struct xt_match *match); | 384 | extern int xt_compat_match_offset(struct xt_match *match); |
385 | extern void xt_compat_match_from_user(struct xt_entry_match *m, | 385 | extern int xt_compat_match_from_user(struct xt_entry_match *m, |
386 | void **dstptr, int *size); | 386 | void **dstptr, int *size); |
387 | extern int xt_compat_match_to_user(struct xt_entry_match *m, | 387 | extern int xt_compat_match_to_user(struct xt_entry_match *m, |
388 | void __user **dstptr, int *size); | 388 | void __user **dstptr, int *size); |
389 | 389 | ||