[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1e546f81-559a-b03d-5acf-b935fcea0268@gmail.com>
Date: Thu, 21 Nov 2019 12:47:01 -0700
From: David Ahern <dsahern@...il.com>
To: Xin Long <lucien.xin@...il.com>,
network dev <netdev@...r.kernel.org>
Cc: davem@...emloft.net, simon.horman@...ronome.com,
jakub.kicinski@...ronome.com
Subject: Re: [PATCH net-next] net: remove the unnecessary strict_start_type in
some policies
On 11/21/19 3:08 AM, Xin Long wrote:
> ct_policy and mpls_policy are parsed with nla_parse_nested(), which
> does NL_VALIDATE_STRICT validation, strict_start_type is not needed
> to set as it is actually trying to make some attributes parsed with
> NL_VALIDATE_STRICT.
>
> This patch is to remove it, and do the same on rtm_nh_policy which
> is parsed by nlmsg_parse().
>
> Suggested-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
> ---
> net/ipv4/nexthop.c | 1 -
> net/sched/act_ct.c | 1 -
> net/sched/act_mpls.c | 1 -
> 3 files changed, 3 deletions(-)
>
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists