[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170420.115000.250335491542942036.davem@davemloft.net>
Date: Thu, 20 Apr 2017 11:50:00 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jhs@...atatu.com
Cc: eric.dumazet@...il.com, jiri@...nulli.us, netdev@...r.kernel.org,
xiyou.wangcong@...il.com
Subject: Re: [PATCH net-next v4 1/2] net sched actions: dump more than
TCA_ACT_MAX_PRIO actions per batch
From: Jamal Hadi Salim <jhs@...atatu.com>
Date: Thu, 20 Apr 2017 09:27:00 -0400
> The issue Jiri is bringing up is unrelated. He is talking about
> a bitmap and conflating it with a data structure. They are not
> the same issue.
Bitmaps can have the same exact problem as padding if we didn't code
it correctly.
The issue is _purely_, "did we check unused 'fields' and enforce them
to be a certain value"
If not, we lose, and can't use those "fields" in the future.
This rule applies whether you are speaking about padding or a bitmask.
Powered by blists - more mailing lists