# Re: \[PATCH v3 1/4\] can: kvaser\_pciefd: Increase correct stats-\>{rx,tx}\_errors counter

- From: Jimmy Assarsson \<hidden\>
- Date: 2021-12-08 13:27:26 
- List: linux-can
- Page: https://ratatoskr.run/linux-can/2021/12/9356798
- Thread: https://ratatoskr.run/linux-can/2021/12/9356778/t.md

```text
On 2021-12-08 13:31, Marc Kleine-Budde wrote:
> On 08.12.2021 13:26:06, Marc Kleine-Budde wrote:
>> On 08.12.2021 12:56:04, Jimmy Assarsson wrote:
>>> Check the direction bit in the error frame packet (EPACK) to determine
>>> which net_device_stats {rx,tx}_errors counter to increase.
>>>
>>> Signed-off-by: Jimmy Assarsson <redacted>
>>
>> Is this a fix that should be applied to the stable kernels? If so, which
>> commit is fixed by this?
>
> To me it looks like the problematic code has been in the mainline kernel
> since it was added. So I'll add a
>
> | Fixes: 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
>
> tag, add stable on Cc and upstream this via net/master. Ok?

Sorry, forgot to add the Fixes tag.
Yes, it's correct :)

Thanks!
jimmy

> regards,
> Marc

```
