Netdev List
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Florian Westphal <fw@strlen.de>, Marco Berizzi <pupilla@libero.it>
Cc: netdev@vger.kernel.org, dsahern@gmail.com
Subject: Re: Attribute failed policy validation
Date: Wed, 24 Oct 2018 08:58:16 -0600	[thread overview]
Message-ID: <ebf41026-9efb-a4e4-b9d7-82ace844cc02@gmail.com> (raw)
In-Reply-To: <20181024130742.777kcbzp667mo5rm@breakpoint.cc>

On 10/24/18 7:07 AM, Florian Westphal wrote:
> Marco Berizzi <pupilla@libero.it> wrote:
> 
> [ CC David ]
> 
>> root@Calimero:~# 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.

      reply	other threads:[~2018-10-24 23:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-24  9:56 Attribute failed policy validation Marco Berizzi
2018-10-24 13:07 ` Florian Westphal
2018-10-24 14:58   ` David Ahern [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ebf41026-9efb-a4e4-b9d7-82ace844cc02@gmail.com \
    --to=dsahern@gmail.com \
    --cc=fw@strlen.de \
    --cc=netdev@vger.kernel.org \
    --cc=pupilla@libero.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox