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
Reply to
Marc Kleine-Budde, 2021-12-08
On 08.12.2021 13:26:06, Marc Kleine-Budde wrote:
On 08.12.2021 12:56:04, Jimmy Assarsson wrote:
quoted
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

Thread (11 messages) 11 messages, 2 authors, last reply 2021-12-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help