mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: route: add missing nla_policy entry for RTA_MARK attribute
This will add stricter validating for RTA_MARK attribute. Signed-off-by: Liping Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8c171d6ca5
commit
3b45a4106f
2 changed files with 2 additions and 0 deletions
|
|
@ -2891,6 +2891,7 @@ static const struct nla_policy rtm_ipv6_policy[RTA_MAX+1] = {
|
|||
[RTA_ENCAP] = { .type = NLA_NESTED },
|
||||
[RTA_EXPIRES] = { .type = NLA_U32 },
|
||||
[RTA_UID] = { .type = NLA_U32 },
|
||||
[RTA_MARK] = { .type = NLA_U32 },
|
||||
};
|
||||
|
||||
static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh,
|
||||
|
|
|
|||
Loading…
Reference in a new issue