[NETLINK]: Mark netlink policies const
[deliverable/linux.git] / net / core / rtnetlink.c
index 27da9cdec6a83b5bdcb41110c9dd7a28eac914fc..a8a5093a300154d80ff37af02adcd24ee997faf0 100644 (file)
@@ -551,7 +551,7 @@ cont:
        return skb->len;
 }
 
-static struct nla_policy ifla_policy[IFLA_MAX+1] __read_mostly = {
+static const struct nla_policy ifla_policy[IFLA_MAX+1] = {
        [IFLA_IFNAME]           = { .type = NLA_STRING, .len = IFNAMSIZ-1 },
        [IFLA_MAP]              = { .len = sizeof(struct rtnl_link_ifmap) },
        [IFLA_MTU]              = { .type = NLA_U32 },
This page took 0.038053 seconds and 5 git commands to generate.