netfilter: nf_tables: constify chain type definitions and pointers

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
This commit is contained in:
Patrick McHardy 2014-01-09 18:42:37 +00:00 • committed by Pablo Neira Ayuso
commit 2a37d755b8
11 changed files with 19 additions and 19 deletions

View file

@ -68,7 +68,7 @@ static struct pernet_operations nf_tables_bridge_net_ops = {
.exit = nf_tables_bridge_exit_net,
};
static struct nf_chain_type filter_bridge = {
static const struct nf_chain_type filter_bridge = {
.family = NFPROTO_BRIDGE,
.name = "filter",
.type = NFT_CHAIN_T_DEFAULT,