[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120710153958.1025b4e2@nehalam.linuxnetplumber.net>
Date: Tue, 10 Jul 2012 15:39:58 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Li Wei <lw@...fujitsu.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] tc: filter: validate filter priority in userspace.
On Tue, 10 Jul 2012 16:45:28 +0800
Li Wei <lw@...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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists