summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-11-25 01:06:17 +0100
committerDavid S. Miller <davem@davemloft.net>2008-11-25 01:06:17 +0100
commitf79fca55f9a6fe54635ad32ddc8a38f92a94ec30 (patch)
tree15343dc8350f4e3f902c20c13b43a86e366f843f /include
parentnetfilter: ctnetlink: fix conntrack creation race (diff)
downloadlinux-f79fca55f9a6fe54635ad32ddc8a38f92a94ec30.tar.xz
linux-f79fca55f9a6fe54635ad32ddc8a38f92a94ec30.zip
netfilter: xtables: add missing const qualifier to xt_tgchk_param
When entryinfo was a standalone parameter to functions, it used to be "const void *". Put the const back in. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index be41b609c88f..e52ce475d19f 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -251,7 +251,7 @@ struct xt_target_param {
*/
struct xt_tgchk_param {
const char *table;
- void *entryinfo;
+ const void *entryinfo;
const struct xt_target *target;
void *targinfo;
unsigned int hook_mask;