summaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6t_HL.c
diff options
context:
space:
mode:
authorJan Engelhardt2007-07-08 07:16:55 +0200
committerDavid S. Miller2007-07-11 07:17:01 +0200
commita47362a226456d8db8207e618324a2278d05d3a7 (patch)
tree9431e971844582fd65a8cdd234cf89d72c6e4c6c /net/ipv6/netfilter/ip6t_HL.c
parent[NETFILTER]: x_tables: switch xt_target->checkentry to bool (diff)
downloadkernel-qcow2-linux-a47362a226456d8db8207e618324a2278d05d3a7.tar.gz
kernel-qcow2-linux-a47362a226456d8db8207e618324a2278d05d3a7.tar.xz
kernel-qcow2-linux-a47362a226456d8db8207e618324a2278d05d3a7.zip
[NETFILTER]: add some consts, remove some casts
Make a number of variables const and/or remove unneeded casts. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/ip6t_HL.c')
-rw-r--r--net/ipv6/netfilter/ip6t_HL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6t_HL.c b/net/ipv6/netfilter/ip6t_HL.c
index 82966c09fd64..20047ff5492f 100644
--- a/net/ipv6/netfilter/ip6t_HL.c
+++ b/net/ipv6/netfilter/ip6t_HL.c
@@ -64,7 +64,7 @@ static bool ip6t_hl_checkentry(const char *tablename,
void *targinfo,
unsigned int hook_mask)
{
- struct ip6t_HL_info *info = targinfo;
+ const struct ip6t_HL_info *info = targinfo;
if (info->mode > IP6T_HL_MAXMODE) {
printk(KERN_WARNING "ip6t_HL: invalid or unknown Mode %u\n",