[NETFILTER]: constify nf_afinfo

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Patrick McHardy 2007-12-17 22:42:27 -08:00 • committed by David S. Miller
commit 1e796fda00
6 changed files with 13 additions and 13 deletions

View file

@ -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,