Netdev List
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Marco Berizzi <pupilla@libero.it>
Cc: netdev@vger.kernel.org, dsahern@gmail.com
Subject: Re: Attribute failed policy validation
Date: Wed, 24 Oct 2018 15:07:42 +0200	[thread overview]
Message-ID: <20181024130742.777kcbzp667mo5rm@breakpoint.cc> (raw)
In-Reply-To: <2054265373.707198.1540374961653@mail.libero.it>

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 :-(

  reply	other threads:[~2018-10-24 21:35 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 [this message]
2018-10-24 14:58   ` David Ahern

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=20181024130742.777kcbzp667mo5rm@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=dsahern@gmail.com \
    --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