From: Roopa Prabhu Date: Tue, 22 May 2018 20:44:51 +0000 (-0700) Subject: net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=341c03313a9a78f223badc4de307886c684f3cd9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy [ Upstream commit 2eabd764cb5512f1338d06ffc054c8bc9fbe9104 ] Signed-off-by: Roopa Prabhu Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index d72874150905..df8fd3ce713d 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c @@ -625,6 +625,7 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = { [RTA_ENCAP] = { .type = NLA_NESTED }, [RTA_UID] = { .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,