[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ebf41026-9efb-a4e4-b9d7-82ace844cc02@gmail.com>
Date: Wed, 24 Oct 2018 08:58:16 -0600
From: David Ahern <dsahern@...il.com>
To: Florian Westphal <fw@...len.de>, Marco Berizzi <pupilla@...ero.it>
Cc: netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: Attribute failed policy validation
On 10/24/18 7:07 AM, Florian Westphal wrote:
> Marco Berizzi <pupilla@...ero.it> wrote:
>
> [ CC David ]
>
>> root@...imero:~# tc qdisc add dev eth0 root handle 1:0 hfsc default 1
>> Error: Attribute failed policy validation.
>
> caused by:
> commit 8b4c3cdd9dd8290343ce959a132d3b334062c5b9
> net: sched: Add policy validation for tc attributes
>
> Looks like TCA_OPTIONS is NLA_BINARY in hfsc case, so
> we can't enforce NLA_NESTED :-(
>
Yep. I'll send a fix.
Powered by blists - more mailing lists