[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fcd34a45-13ac-18d2-b01a-b0e51663f95d@mojatatu.com>
Date: Fri, 25 Oct 2019 17:52:47 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Vlad Buslov <vladbu@...lanox.com>
Cc: Jiri Pirko <jiri@...nulli.us>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"xiyou.wangcong@...il.com" <xiyou.wangcong@...il.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"mleitner@...hat.com" <mleitner@...hat.com>,
"dcaratti@...hat.com" <dcaratti@...hat.com>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net-next 00/13] Control action percpu counters allocation
by netlink flag
On 2019-10-25 5:10 p.m., Jamal Hadi Salim wrote:
> On 2019-10-25 5:05 p.m., Jamal Hadi Salim wrote:
>> + if (!root_flags && tb[TCA_ACT_ROOT_FLAGS]) {
>> + rf = nla_get_bitfield32(tb[TCA_ACT_ROOT_FLAGS]);
>> + root_flags = &rf;
>> + }
>
>
>
> !root_flags check doesnt look right.
> Hopefully it makes more sense now....
>
For completion:
It compiled ;->
cheers,
jamal
Powered by blists - more mailing lists