Thread (34 messages) 34 messages, 3 authors, 2017-07-29

Re: [PATCH net-next v11 3/4] net sched actions: dump more than TCA_ACT_MAX_PRIO actions per batch

From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2017-07-28 22:10:23

On 17-07-28 11:45 AM, Jiri Pirko wrote:
Fri, Jul 28, 2017 at 05:08:10PM CEST, jhs@mojatatu.com wrote:
quoted
On 17-07-28 10:52 AM, Jamal Hadi Salim wrote:
quoted
On 17-07-28 10:12 AM, Jiri Pirko wrote:
quoted
        /*disallow invalid selector */
        if ((bf->selector & *valid_flags_allowed) > *valid_flags_allowed)
I don't get the ">"....
Just (bf->selector & ~*valid_flags_allowed) should be enought, no?
It may be enough - I will try it out tommorow.
I was worried about the selector having more bits than the allowed flags.

cheers,
jamal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help