diff options
author | Patrick McHardy <kaber@trash.net> | 2014-01-09 18:42:37 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-09 19:17:15 (GMT) |
commit | 2a37d755b885995443f11cdcaf1f9d4b5f246eab (patch) | |
tree | 8ae3cefff2147663baae9336c555930260f335d8 /net/netfilter/nf_tables_inet.c | |
parent | 93b0806f006b8b3ecb7a6183fcad21e88f39904f (diff) | |
download | linux-2a37d755b885995443f11cdcaf1f9d4b5f246eab.tar.xz |
netfilter: nf_tables: constify chain type definitions and pointers
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_tables_inet.c')
-rw-r--r-- | net/netfilter/nf_tables_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_tables_inet.c b/net/netfilter/nf_tables_inet.c index 280d3a2d..ee29ba2 100644 --- a/net/netfilter/nf_tables_inet.c +++ b/net/netfilter/nf_tables_inet.c @@ -66,7 +66,7 @@ static struct pernet_operations nf_tables_inet_net_ops = { .exit = nf_tables_inet_exit_net, }; -static struct nf_chain_type filter_inet = { +static const struct nf_chain_type filter_inet = { .family = NFPROTO_INET, .name = "filter", .type = NFT_CHAIN_T_DEFAULT, |