summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephane Grosjean <s.grosjean@peak-system.com>2021-06-23 16:26:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:17:29 +0200
commitdada02ccd86e0d68e4c2ab495a457f62a697cbf3 (patch)
tree49f24abce8bc7e66d236274f746329f4b87b5b95 /net
parent2c9e095989b4779767bca0a532f168e80ed09ec7 (diff)
downloadlinux-stable-dada02ccd86e0d68e4c2ab495a457f62a697cbf3.tar.gz
linux-stable-dada02ccd86e0d68e4c2ab495a457f62a697cbf3.tar.bz2
linux-stable-dada02ccd86e0d68e4c2ab495a457f62a697cbf3.zip
can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
commit b17233d385d0b6b43ecf81d43008cb1bbb008166 upstream. 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/20210623142600.149904-1-s.grosjean@peak-system.com Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions