diff options
author | Patrick McHardy | 2007-12-18 07:37:36 +0100 |
---|---|---|
committer | David S. Miller | 2008-01-28 23:58:56 +0100 |
commit | 2b628a0866860d44652362aafe403e5b5895583d (patch) | |
tree | bb548f5ad7b7f932f8a8a52ff1922316750ae0ae /net/ipv4/netfilter/nf_nat_proto_gre.c | |
parent | [NETFILTER]: nf_nat_proto_gre: add missing module reference (diff) | |
download | kernel-qcow2-linux-2b628a0866860d44652362aafe403e5b5895583d.tar.gz kernel-qcow2-linux-2b628a0866860d44652362aafe403e5b5895583d.tar.xz kernel-qcow2-linux-2b628a0866860d44652362aafe403e5b5895583d.zip |
[NETFILTER]: nf_nat: mark NAT protocols const
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/nf_nat_proto_gre.c')
-rw-r--r-- | net/ipv4/netfilter/nf_nat_proto_gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_nat_proto_gre.c b/net/ipv4/netfilter/nf_nat_proto_gre.c index 945e0ae78ffa..9fa272e73113 100644 --- a/net/ipv4/netfilter/nf_nat_proto_gre.c +++ b/net/ipv4/netfilter/nf_nat_proto_gre.c @@ -135,7 +135,7 @@ gre_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, return 1; } -static struct nf_nat_protocol gre __read_mostly = { +static const struct nf_nat_protocol gre = { .name = "GRE", .protonum = IPPROTO_GRE, .me = THIS_MODULE, |