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

- From: Marc Kleine-Budde \<mkl@pengutronix.de\>
- Date: 2021-12-08 12:31:37 
- List: linux-can
- Page: https://ratatoskr.run/linux-can/2021/12/9356786
- Thread: https://ratatoskr.run/linux-can/2021/12/9356778/t.md

```text
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?

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-can/2021/12/9356786/attachment/0) (application/pgp-signature, 488 bytes)
