net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 22 May 2018 20:44:51 +0000 (13:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 19:03:28 +0000 (15:03 -0400)
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c

index 4d622112bf95fabd9d0e87c64f1e27138a3c1556..e66172aaf241874ea5b4011c4d1ea3ed00ee8c3f 100644 (file)
@@ -649,6 +649,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,