Re: [patch net-next 04/20] net: sched: use tcf_exts_has_actions in tcf_exts_exec
From: Jiri Pirko <jiri@resnulli.us>
Date: 2017-07-31 06:36:16
From: Jiri Pirko <jiri@resnulli.us>
Date: 2017-07-31 06:36:16
Sun, Jul 30, 2017 at 09:48:24PM CEST, jhs@mojatatu.com wrote:
I am probably missing something. All those changes to just replace "if (exts->nr_actions)" with "if (tcf_exts_has_actions(exts))" ?
That is what the description says :)
cheers, jamal On 17-07-28 10:40 AM, Jiri Pirko wrote:quoted
From: Jiri Pirko <redacted> Use the tcf_exts_has_actions helper instead or directly testing exts->nr_actions in tcf_exts_exec. Signed-off-by: Jiri Pirko <redacted>