[NETLINK]: Mark netlink policies const
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
14a49e1fd2
commit
ef7c79ed64
@@ -169,7 +169,7 @@ static struct fib_table *fib_empty_table(void)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static struct nla_policy fib4_rule_policy[FRA_MAX+1] __read_mostly = {
|
||||
static const struct nla_policy fib4_rule_policy[FRA_MAX+1] = {
|
||||
FRA_GENERIC_POLICY,
|
||||
[FRA_FLOW] = { .type = NLA_U32 },
|
||||
};
|
||||
|
Reference in New Issue
Block a user