From: Bhumika Goyal Date: Fri, 25 Aug 2017 14:21:42 +0000 (+0530) Subject: bridge: make ebt_table const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb73ddebe992200586bcead3e2ff2889ef8d2575;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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,