summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-01-09 19:42:37 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-01-09 20:17:15 +0100
commit2a37d755b885995443f11cdcaf1f9d4b5f246eab (patch)
tree8ae3cefff2147663baae9336c555930260f335d8 /net/bridge
parentnetfilter: nf_tables: replay request after dropping locks to load chain type (diff)
downloadlinux-2a37d755b885995443f11cdcaf1f9d4b5f246eab.tar.xz
linux-2a37d755b885995443f11cdcaf1f9d4b5f246eab.zip
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/bridge')
-rw-r--r--net/bridge/netfilter/nf_tables_bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/nf_tables_bridge.c b/net/bridge/netfilter/nf_tables_bridge.c
index f97222eb8235..283658d21825 100644
--- a/net/bridge/netfilter/nf_tables_bridge.c
+++ b/net/bridge/netfilter/nf_tables_bridge.c
@@ -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,