netfilter: nf_tables: constify chain type definitions and pointers
[sfrench/cifs-2.6.git] / net / ipv4 / netfilter / nft_chain_nat_ipv4.c
index cf2c792cd971cc757fb3986c0956c0841922d385..9e535c2c2cd213352e396111235ac51026c5a146 100644 (file)
@@ -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,