Re: [PATCH net-next 2/7] net: rtnetlink: allow only one idx saving stats attribute

2016-04-28 Thread Nikolay Aleksandrov
On 04/28/2016 07:18 AM, Roopa Prabhu wrote: > On 4/27/16, 9:18 AM, Nikolay Aleksandrov wrote: >> We can't allow more than one stats attribute which uses the local idx >> since the result will be a mess. This is a simple check to make sure >> only one is being used at a time. Later when the

Re: [PATCH net-next 2/7] net: rtnetlink: allow only one idx saving stats attribute

2016-04-27 Thread Roopa Prabhu
On 4/27/16, 9:18 AM, Nikolay Aleksandrov wrote: > We can't allow more than one stats attribute which uses the local idx > since the result will be a mess. This is a simple check to make sure > only one is being used at a time. Later when the filter_mask's 32 bits > are over we can switch to a

[PATCH net-next 2/7] net: rtnetlink: allow only one idx saving stats attribute

2016-04-27 Thread Nikolay Aleksandrov
We can't allow more than one stats attribute which uses the local idx since the result will be a mess. This is a simple check to make sure only one is being used at a time. Later when the filter_mask's 32 bits are over we can switch to a bitmap. Signed-off-by: Nikolay Aleksandrov