[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191121105136.79fcdc83@cakuba.netronome.com>
Date: Thu, 21 Nov 2019 10:51:36 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>, davem@...emloft.net,
simon.horman@...ronome.com, "dsahern@...il.com" <dsahern@...il.com>
Subject: Re: [PATCH net-next] net: remove the unnecessary strict_start_type
in some policies
On Thu, 21 Nov 2019 18:08:38 +0800, 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>
Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Powered by blists - more mailing lists