[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1503670907-23221-3-git-send-email-bhumirks@gmail.com>
Date: Fri, 25 Aug 2017 19:51:42 +0530
From: Bhumika Goyal <bhumirks@...il.com>
To: julia.lawall@...6.fr, marcel@...tmann.org, gustavo@...ovan.org,
johan.hedberg@...il.com, davem@...emloft.net, pablo@...filter.org,
kadlec@...ckhole.kfki.hu, fw@...len.de, stephen@...workplumber.org,
alex.aring@...il.com, stefan@....samsung.com, kuznet@....inr.ac.ru,
yoshfuji@...ux-ipv6.org, santosh.shilimkar@...cle.com,
trond.myklebust@...marydata.com, anna.schumaker@...app.com,
bfields@...ldses.org, jlayton@...chiereds.net,
linux-bluetooth@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, bridge@...ts.linux-foundation.org,
linux-wpan@...r.kernel.org, linux-rdma@...r.kernel.org,
rds-devel@....oracle.com, linux-nfs@...r.kernel.org
Cc: Bhumika Goyal <bhumirks@...il.com>
Subject: [PATCH 2/7] 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@...il.com>
---
net/bridge/netfilter/ebtable_nat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/bridge/netfilter/ebtable_nat.c b/net/bridge/netfilter/ebtable_nat.c
index 4ecf506..57cd5bb 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,
--
1.9.1
Powered by blists - more mailing lists