mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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:
parent
93b0806f00
commit
2a37d755b8
11 changed files with 19 additions and 19 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue