Re: [PATCH] can/peak_pciefd: fix a potential issue of sending frames

From
Marc Kleine-Budde <mkl@pengutronix.de>
Date
2021-06-24 06:35:14
Reply to
Stephane Grosjean, 2021-06-23
On 23.06.2021 16:26:00, Stephane Grosjean wrote:
Rather than just indicating that transmission can start, this patch
requires the explicit flushing of the network Tx queue when the driver is
informed by the device that it can transmit, next to its configuration.
In this way, if frames have already been written by the application, they
will actually be transmitted.

Signed-off-by: Stephane Grosjean <redacted>
Applied to linux-can/testing

Added stable on Cc.

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 (2 messages) 2 messages, 2 authors, last reply 2021-06-24
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