commit | 91785de6f94b58c3fb6664609e3682f011bd28d2 | [log] [tgz] |
---|---|---|
author | Stephane Grosjean <s.grosjean@peak-system.com> | Thu Dec 07 16:13:43 2017 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Dec 08 10:51:53 2017 +0100 |
tree | 14c8fbdbe318d6425bcbd936d1e79cfe3271c1f0 | |
parent | 12147edc434c9e4c7c2f5fee2e5519b2e5ac34ce [diff] |
can: peak/pcie_fd: fix potential bug in restarting tx queue Don't rely on can_get_echo_skb() return value to wake the network tx queue up: can_get_echo_skb() returns 0 if the echo array slot was not occupied, but also when the DLC of the released echo frame was 0. Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>