Re: [RFC PATCH net-next v2 4/7] net: ravb: Always update error counters

From: Sergey Shtylyov
Date: Sat Feb 10 2024 - 11:47:17 EST


On 2/6/24 12:19 PM, Paul Barker wrote:

> The error statistics should be updated each time the poll function is
> called, even if the full RX work budget has been consumed. This prevents
> the counts from becoming stuck when RX bandwidth usage is high.
>
> This also ensures that error counters are not updated after we've
> re-enabled interrupts as that could result in a race condition.
>
> Also drop an unnecessary space.
>
> Signed-off-by: Paul Barker <paul.barker.ct@xxxxxxxxxxxxxx>

Definitely looks like a bug fix...

[...]

MBR, Sergey