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
/
ipv4
/
netfilter
/
nft_chain_nat_ipv4.c
diff --git
a/net/ipv4/netfilter/nft_chain_nat_ipv4.c
b/net/ipv4/netfilter/nft_chain_nat_ipv4.c
index cf2c792cd971cc757fb3986c0956c0841922d385..9e535c2c2cd213352e396111235ac51026c5a146 100644
(file)
--- a/
net/ipv4/netfilter/nft_chain_nat_ipv4.c
+++ b/
net/ipv4/netfilter/nft_chain_nat_ipv4.c
@@
-164,7
+164,7
@@
static unsigned int nf_nat_output(const struct nf_hook_ops *ops,
return ret;
}
-static struct nf_chain_type nft_chain_nat_ipv4 = {
+static
const
struct nf_chain_type nft_chain_nat_ipv4 = {
.family = NFPROTO_IPV4,
.name = "nat",
.type = NFT_CHAIN_T_NAT,