diff options
author | Stephane Grosjean <[email protected]> | 2021-06-23 16:26:00 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-06-24 08:40:10 +0200 |
commit | b17233d385d0b6b43ecf81d43008cb1bbb008166 (patch) | |
tree | 4ab5c96b83a3cb6604d01daaf2d5dc74e69e70b3 /tools/perf/scripts/python | |
parent | aaf473d0100f64abc88560e2bea905805bcf2a8e (diff) |
can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
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.
Fixes: ffd137f7043c ("can: peak/pcie_fd: remove useless code when interface starts")
Link: https://lore.kernel.org/r/[email protected]
Cc: linux-stable <[email protected]>
Signed-off-by: Stephane Grosjean <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions