diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-25 19:51:42 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-28 11:30:02 -0700 |
commit | eb73ddebe992200586bcead3e2ff2889ef8d2575 (patch) | |
tree | 54b5d85eba191a6bb843f27ecf721aac9ef41ce6 /net/bridge | |
parent | 7a483899b599a93870ac11a61801acdba116b713 (diff) | |
download | linux-stable-eb73ddebe992200586bcead3e2ff2889ef8d2575.tar.gz linux-stable-eb73ddebe992200586bcead3e2ff2889ef8d2575.tar.bz2 linux-stable-eb73ddebe992200586bcead3e2ff2889ef8d2575.zip |
bridge: make ebt_table const
Make this const as it is only passed to a const argument of the function
ebt_register_table.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/netfilter/ebtable_nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebtable_nat.c b/net/bridge/netfilter/ebtable_nat.c index 2f7a4f314406..30dedcb56ade 100644 --- a/net/bridge/netfilter/ebtable_nat.c +++ b/net/bridge/netfilter/ebtable_nat.c @@ -48,7 +48,7 @@ static int check(const struct ebt_table_info *info, unsigned int valid_hooks) return 0; } -static struct ebt_table frame_nat = { +static const struct ebt_table frame_nat = { .name = "nat", .table = &initial_table, .valid_hooks = NAT_VALID_HOOKS, |