[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191121.114631.995877327927284264.davem@davemloft.net>
Date: Thu, 21 Nov 2019 11:46:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, simon.horman@...ronome.com,
jakub.kicinski@...ronome.com
Subject: Re: [PATCH net-next] net: remove the unnecessary strict_start_type
in some policies
From: Xin Long <lucien.xin@...il.com>
Date: Thu, 21 Nov 2019 18:08:38 +0800
> 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>
Applied.
Powered by blists - more mailing lists