Re: [PATCH net] net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy

2018-05-24 Thread Roopa Prabhu
On Wed, May 23, 2018 at 12:04 PM, David Miller  wrote:
> From: Roopa Prabhu 
> Date: Tue, 22 May 2018 13:44:51 -0700
>
>> From: Roopa Prabhu 
>>
>> Signed-off-by: Roopa Prabhu 
>
> Applied and queued up for -stable.
>
> Please provide an appropriate Fixes: tag next time.

yes, will do, thanks.

This seems to date back to 2006 when rtm_ipv4_policy was first introduced:
Fixes: 4e902c57417c ("[IPv4]: FIB configuration using struct fib_config")


Re: [PATCH net] net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy

2018-05-23 Thread David Miller
From: Roopa Prabhu 
Date: Tue, 22 May 2018 13:44:51 -0700

> From: Roopa Prabhu 
> 
> Signed-off-by: Roopa Prabhu 

Applied and queued up for -stable.

Please provide an appropriate Fixes: tag next time.


[PATCH net] net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy

2018-05-22 Thread Roopa Prabhu
From: Roopa Prabhu 

Signed-off-by: Roopa Prabhu 
---
 net/ipv4/fib_frontend.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index 4d622112..e66172a 100644
--- a/net/ipv4/fib_frontend.c
+++ b/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_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,
-- 
2.1.4