[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180829085252.GD2181@nanopsycho>
Date: Wed, 29 Aug 2018 10:52:53 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Davide Caratti <dcaratti@...hat.com>,
Lucas Bates <lucasb@...atatu.com>
Subject: Re: [PATCH net v2 1/2] net_sched: reject unknown tcfa_action values
Wed, Aug 29, 2018 at 10:22:33AM CEST, pabeni@...hat.com wrote:
>After the commit 802bfb19152c ("net/sched: user-space can't set
>unknown tcfa_action values"), unknown tcfa_action values are
>converted to TC_ACT_UNSPEC, but the common agreement is instead
>rejecting such configurations.
>
>This change also introduces a helper to simplify the destruction
>of a single action, avoiding code duplication.
>
>v1 -> v2:
> - helper is now static and renamed according to act_* convention
> - updated extack message, according to the new behavior
>
>Fixes: 802bfb19152c ("net/sched: user-space can't set unknown tcfa_action values")
>Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists