From: Stephen Hemminger <shemminger@vyatta•com>
To: Li Wei <lw@cn•fujitsu.com>
Cc: netdev <netdev@vger•kernel.org>
Subject: Re: [PATCH] tc: filter: validate filter priority in userspace.
Date: Tue, 10 Jul 2012 15:39:58 -0700 [thread overview]
Message-ID: <20120710153958.1025b4e2@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <4FFBEBA8.1050802@cn.fujitsu.com>
On Tue, 10 Jul 2012 16:45:28 +0800
Li Wei <lw@cn•fujitsu.com> wrote:
>
> Because we use the high 16 bits of tcm_info to pass prio value to
> kernel, thus it's range would be [0, 0xffff], without validation
> in tc when user pass a lager(>65535) priority, the actual priority
> set in kernel would confuse the user.
>
> So, add a validation to ensure prio in the range.
Applied
prev parent reply other threads:[~2012-07-10 22:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 8:45 [PATCH] tc: filter: validate filter priority in userspace Li Wei
2012-07-10 22:39 ` Stephen Hemminger [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=20120710153958.1025b4e2@nehalam.linuxnetplumber.net \
--to=shemminger@vyatta$(echo .)com \
--cc=lw@cn$(echo .)fujitsu.com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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