diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-17 22:42:27 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:59:05 -0800 |
commit | 1e796fda00f06bac584f0e4ad8750ab9430d79d3 (patch) | |
tree | c397d3c84060a0a3dcc83f4bdbb3a470cfd8db06 /net/ipv4 | |
parent | 90a9ba8dd90bcffe279d3272545bccba6dcc8d7c (diff) | |
download | op-kernel-dev-1e796fda00f06bac584f0e4ad8750ab9430d79d3.zip op-kernel-dev-1e796fda00f06bac584f0e4ad8750ab9430d79d3.tar.gz |
[NETFILTER]: constify nf_afinfo
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter.c b/net/ipv4/netfilter.c index 7bf5e4a..4011f8f 100644 --- a/net/ipv4/netfilter.c +++ b/net/ipv4/netfilter.c @@ -190,7 +190,7 @@ static int nf_ip_route(struct dst_entry **dst, struct flowi *fl) return ip_route_output_key((struct rtable **)dst, fl); } -static struct nf_afinfo nf_ip_afinfo = { +static const struct nf_afinfo nf_ip_afinfo = { .family = AF_INET, .checksum = nf_ip_checksum, .route = nf_ip_route, |