diff options
author | Patrick McHardy <kaber@trash.net> | 2007-06-05 12:38:30 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-07 13:40:10 -0700 |
commit | ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d (patch) | |
tree | 4c27ec3362d958b99672366437d5eb6038dd561d /net/ipv6/addrconf.c | |
parent | 14a49e1fd2bb91ba2bf0e1f06711b6dbc21de02d (diff) | |
download | blackbird-op-linux-ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d.tar.gz blackbird-op-linux-ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d.zip |
[NETLINK]: Mark netlink policies const
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 329de679ac38..5a5f8bd4597a 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -2990,7 +2990,7 @@ static struct in6_addr *extract_addr(struct nlattr *addr, struct nlattr *local) return pfx; } -static struct nla_policy ifa_ipv6_policy[IFA_MAX+1] __read_mostly = { +static const struct nla_policy ifa_ipv6_policy[IFA_MAX+1] = { [IFA_ADDRESS] = { .len = sizeof(struct in6_addr) }, [IFA_LOCAL] = { .len = sizeof(struct in6_addr) }, [IFA_CACHEINFO] = { .len = sizeof(struct ifa_cacheinfo) }, |