[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o8ur1dwu.fsf@intel.com>
Date: Sat, 25 Jan 2020 12:25:53 -0800
From: Vinicius Costa Gomes <vinicius.gomes@...el.com>
To: Vladimir Oltean <olteanv@...il.com>
Cc: netdev <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
"David S. Miller" <davem@...emloft.net>,
Vladimir Oltean <vladimir.oltean@....com>,
Po Liu <po.liu@....com>
Subject: Re: [PATCH net v1 2/3] taprio: Fix still allowing changing the flags during runtime
Hi,
Vladimir Oltean <olteanv@...il.com> writes:
>
> You can't quite do this, since it now breaks plain 'tc qdisc add'
> behavior. Can you initialize q->flags to -1 in taprio_init, just below
> q->clockid, and keep the "q->flags != -1" check here? You might also
> need to validate the taprio_flags to be a positive value.
>
Ugh, thanks for pointing this out. Will re-spin the series fixing this.
Another lesson on not sending patches last thing on a friday.
Cheers,
--
Vinicius
Powered by blists - more mailing lists