netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guillaume Nault <gnault@redhat.com>
To: David Miller <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, Jamal Hadi Salim <jhs@mojatatu.com>,
	Cong Wang <xiyou.wangcong@gmail.com>,
	Jiri Pirko <jiri@resnulli.us>
Subject: [PATCH net-next 0/4] cls_flower: Use extack in fl_set_key()
Date: Mon, 23 Mar 2020 21:48:45 +0100	[thread overview]
Message-ID: <cover.1584995986.git.gnault@redhat.com> (raw)

Add missing extack messages in fl_set_key(), so that users can get more
meaningfull error messages when netlink attributes are rejected.

Patch 1 also extends extack in tcf_change_indev() (in pkt_cls.h) since
this function is used by fl_set_key().

Guillaume Nault (4):
  net: sched: refine extack messages in tcf_change_indev
  cls_flower: Add extack support for mpls options
  cls_flower: Add extack support for src and dst port range options
  cls_flower: Add extack support for flags key

 include/net/pkt_cls.h  |  8 ++++--
 net/sched/cls_flower.c | 60 ++++++++++++++++++++++++++++++------------
 2 files changed, 49 insertions(+), 19 deletions(-)

-- 
2.21.1


             reply	other threads:[~2020-03-23 20:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 20:48 Guillaume Nault [this message]
2020-03-23 20:48 ` [PATCH net-next 1/4] net: sched: refine extack messages in tcf_change_indev Guillaume Nault
2020-03-23 20:48 ` [PATCH net-next 2/4] cls_flower: Add extack support for mpls options Guillaume Nault
2020-03-23 20:48 ` [PATCH net-next 3/4] cls_flower: Add extack support for src and dst port range options Guillaume Nault
2020-03-23 20:48 ` [PATCH net-next 4/4] cls_flower: Add extack support for flags key Guillaume Nault
2020-03-27  2:52 ` [PATCH net-next 0/4] cls_flower: Use extack in fl_set_key() David Miller

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=cover.1584995986.git.gnault@redhat.com \
    --to=gnault@redhat.com \
    --cc=davem@davemloft.net \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).