netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: Davide Caratti <dcaratti@redhat.com>
Cc: Amir Vadai <amir@vadai.me>, Yotam Gigi <yotamg@mellanox.com>,
	Jiri Pirko <jiri@mellanox.com>,
	"David S. Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org
Subject: Re: [PATCH net 2/2] net/sched: flower: add missing validation of TCA_FLOWER_FLAGS
Date: Wed, 12 Feb 2020 08:28:35 +0100	[thread overview]
Message-ID: <20200212072835.GC22610@nanopsycho> (raw)
In-Reply-To: <6f39f0296c4cd7b339764c863cde8fdf04b83ec6.1581444848.git.dcaratti@redhat.com>

Tue, Feb 11, 2020 at 07:33:40PM CET, dcaratti@redhat.com wrote:
>unlike other classifiers that can be offloaded (i.e. users can set flags
>like 'skip_hw' and 'skip_sw'), 'cls_flower' doesn't validate the size of
>netlink attribute 'TCA_FLOWER_FLAGS' provided by user: add a proper entry
>to fl_policy.
>
>Fixes: 5b33f48842fa ("net/flower: Introduce hardware offload support")
>Signed-off-by: Davide Caratti <dcaratti@redhat.com>

Acked-by: Jiri Pirko <jiri@mellanox.com>

  reply	other threads:[~2020-02-12  7:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-11 18:33 [PATCH net 0/2] add missing validation of 'skip_hw/skip_sw' Davide Caratti
2020-02-11 18:33 ` [PATCH net 1/2] net/sched: matchall: add missing validation of TCA_MATCHALL_FLAGS Davide Caratti
2020-02-12  7:28   ` Jiri Pirko
2020-02-11 18:33 ` [PATCH net 2/2] net/sched: flower: add missing validation of TCA_FLOWER_FLAGS Davide Caratti
2020-02-12  7:28   ` Jiri Pirko [this message]
2020-02-13 22:17 ` [PATCH net 0/2] add missing validation of 'skip_hw/skip_sw' 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=20200212072835.GC22610@nanopsycho \
    --to=jiri@resnulli.us \
    --cc=amir@vadai.me \
    --cc=davem@davemloft.net \
    --cc=dcaratti@redhat.com \
    --cc=jiri@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=yotamg@mellanox.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).