diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-08-24 14:56:30 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-08-24 14:56:30 +0200 |
commit | 35aad0ffdf548617940ca1e78be1f2e0bafc4496 (patch) | |
tree | 1cab1705197cd247a5b5809e768e89f630c8460e /include/linux/netfilter_ipv6 | |
parent | dc05a564ab1b3a1957927da50912964b61f7da69 (diff) | |
download | linux-stable-35aad0ffdf548617940ca1e78be1f2e0bafc4496.tar.gz linux-stable-35aad0ffdf548617940ca1e78be1f2e0bafc4496.tar.bz2 linux-stable-35aad0ffdf548617940ca1e78be1f2e0bafc4496.zip |
netfilter: xtables: mark initial tables constant
The inputted table is never modified, so should be considered const.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter_ipv6')
-rw-r--r-- | include/linux/netfilter_ipv6/ip6_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv6/ip6_tables.h b/include/linux/netfilter_ipv6/ip6_tables.h index 1089e33cf633..a64e1451ac38 100644 --- a/include/linux/netfilter_ipv6/ip6_tables.h +++ b/include/linux/netfilter_ipv6/ip6_tables.h @@ -306,7 +306,7 @@ ip6t_get_target(struct ip6t_entry *e) extern void ip6t_init(void) __init; extern struct xt_table *ip6t_register_table(struct net *net, - struct xt_table *table, + const struct xt_table *table, const struct ip6t_replace *repl); extern void ip6t_unregister_table(struct xt_table *table); extern unsigned int ip6t_do_table(struct sk_buff *skb, |