mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4f7f56b6b1
commit
2eabd764cb
@ -649,6 +649,7 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = {
|
|||||||
[RTA_ENCAP] = { .type = NLA_NESTED },
|
[RTA_ENCAP] = { .type = NLA_NESTED },
|
||||||
[RTA_UID] = { .type = NLA_U32 },
|
[RTA_UID] = { .type = NLA_U32 },
|
||||||
[RTA_MARK] = { .type = NLA_U32 },
|
[RTA_MARK] = { .type = NLA_U32 },
|
||||||
|
[RTA_TABLE] = { .type = NLA_U32 },
|
||||||
};
|
};
|
||||||
|
|
||||||
static int rtm_to_fib_config(struct net *net, struct sk_buff *skb,
|
static int rtm_to_fib_config(struct net *net, struct sk_buff *skb,
|
||||||
|
Loading…
Reference in New Issue
Block a user