git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nf_tables: constify chain type definitions and pointers
[sfrench/cifs-2.6.git]
/
net
/
ipv6
/
netfilter
/
nf_tables_ipv6.c
diff --git
a/net/ipv6/netfilter/nf_tables_ipv6.c
b/net/ipv6/netfilter/nf_tables_ipv6.c
index a34027687ecd647e06abad220ac0947fbc9ebb42..758a32b0e2ff692e1ba62f369f594449a3bf026a 100644
(file)
--- a/
net/ipv6/netfilter/nf_tables_ipv6.c
+++ b/
net/ipv6/netfilter/nf_tables_ipv6.c
@@
-90,7
+90,7
@@
static struct pernet_operations nf_tables_ipv6_net_ops = {
.exit = nf_tables_ipv6_exit_net,
};
-static struct nf_chain_type filter_ipv6 = {
+static
const
struct nf_chain_type filter_ipv6 = {
.family = NFPROTO_IPV6,
.name = "filter",
.type = NFT_CHAIN_T_DEFAULT,