[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <710bf705-6a58-c158-4fdc-9158dfa34ed3@mojatatu.com>
Date: Fri, 25 Oct 2019 17:10:06 -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: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....
cheers,
jamal
Powered by blists - more mailing lists