[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9e2a1bc7-e80a-1642-3b83-2341fddc6097@gmail.com>
Date:   Tue, 22 May 2018 08:04:45 -0700
From:   Eric Dumazet <eric.dumazet@...il.com>
To:     Roopa Prabhu <roopa@...ulusnetworks.com>, davem@...emloft.net
Cc:     netdev@...r.kernel.org, nikolay@...ulusnetworks.com,
        dsa@...ulusnetworks.com, idosch@...lanox.com
Subject: Re: [PATCH net-next v4 1/3] ipv4: support sport, dport and ip_proto
 in RTM_GETROUTE
On 05/22/2018 07:51 AM, Roopa Prabhu wrote:
> From: Roopa Prabhu <roopa@...ulusnetworks.com>
> 
> 
...
> diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
> index 4d622112..cf5cfc5 100644
> --- a/net/ipv4/fib_frontend.c
> +++ b/net/ipv4/fib_frontend.c
> @@ -649,6 +649,10 @@ 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 },
> +	[RTA_IP_PROTO]		= { .type = NLA_U8 },
> +	[RTA_SPORT]		= { .type = NLA_U16 },
> +	[RTA_DPORT]		= { .type = NLA_U16 },
>  };
Hi Roopa
RTA_TABLE addition looks like a bug fix for net tree ?
This should be sent as an independent patch IMO.
Thanks.
Powered by blists - more mailing lists