Przeglądaj źródła

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>
Roopa Prabhu 7 lat temu
rodzic
commit
2eabd764cb
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      net/ipv4/fib_frontend.c

+ 1 - 0
net/ipv4/fib_frontend.c

@@ -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,