All of lore.kernel.org
 help / color / mirror / Atom feed
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

      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.com \
    --cc=lw@cn.fujitsu.com \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.