diff options
author | Jan Engelhardt | 2009-08-24 14:56:30 +0200 |
---|---|---|
committer | Patrick McHardy | 2009-08-24 14:56:30 +0200 |
commit | 35aad0ffdf548617940ca1e78be1f2e0bafc4496 (patch) | |
tree | 1cab1705197cd247a5b5809e768e89f630c8460e /net/ipv6/netfilter/ip6table_filter.c | |
parent | Merge branch 'master' of git://dev.medozas.de/linux (diff) | |
download | kernel-qcow2-linux-35aad0ffdf548617940ca1e78be1f2e0bafc4496.tar.gz kernel-qcow2-linux-35aad0ffdf548617940ca1e78be1f2e0bafc4496.tar.xz kernel-qcow2-linux-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 'net/ipv6/netfilter/ip6table_filter.c')
-rw-r--r-- | net/ipv6/netfilter/ip6table_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6table_filter.c b/net/ipv6/netfilter/ip6table_filter.c index 0a3ae48ac4d5..6f4383ad86f9 100644 --- a/net/ipv6/netfilter/ip6table_filter.c +++ b/net/ipv6/netfilter/ip6table_filter.c @@ -51,7 +51,7 @@ static struct .term = IP6T_ERROR_INIT, /* ERROR */ }; -static struct xt_table packet_filter = { +static const struct xt_table packet_filter = { .name = "filter", .valid_hooks = FILTER_VALID_HOOKS, .me = THIS_MODULE, |