aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-09-24 18:42:20 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-24 18:55:03 -0400
commit3e597c6045502dd0fa98a61aa95ba178f8a2cc03 (patch)
tree61d8994ed00550ae641e2a5743e072a1c02654fb /include
parent1db2ea398ffbfd9ea46d509ff0e4a85bb4b8c0ea (diff)
[PATCH] fix iptables __user misannotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/x_tables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 739a98eebe2c..04319a76103a 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -390,13 +390,13 @@ extern int xt_compat_match_offset(struct xt_match *match);
390extern void xt_compat_match_from_user(struct xt_entry_match *m, 390extern void xt_compat_match_from_user(struct xt_entry_match *m,
391 void **dstptr, int *size); 391 void **dstptr, int *size);
392extern int xt_compat_match_to_user(struct xt_entry_match *m, 392extern int xt_compat_match_to_user(struct xt_entry_match *m,
393 void * __user *dstptr, int *size); 393 void __user **dstptr, int *size);
394 394
395extern int xt_compat_target_offset(struct xt_target *target); 395extern int xt_compat_target_offset(struct xt_target *target);
396extern void xt_compat_target_from_user(struct xt_entry_target *t, 396extern void xt_compat_target_from_user(struct xt_entry_target *t,
397 void **dstptr, int *size); 397 void **dstptr, int *size);
398extern int xt_compat_target_to_user(struct xt_entry_target *t, 398extern int xt_compat_target_to_user(struct xt_entry_target *t,
399 void * __user *dstptr, int *size); 399 void __user **dstptr, int *size);
400 400
401#endif /* CONFIG_COMPAT */ 401#endif /* CONFIG_COMPAT */
402#endif /* __KERNEL__ */ 402#endif /* __KERNEL__ */