kernel-hacking-2024-linux-s.../net/can
Oliver Hartkopp aabdcb0b55 can bcm: fix tx_setup off-by-one errors
This patch fixes two off-by-one errors that canceled each other out.
Checking for the same condition two times in bcm_tx_timeout_tsklet() reduced
the count of frames to be sent by one. This did not show up the first time
tx_setup is invoked as an additional frame is sent due to TX_ANNONCE.
Invoking a second tx_setup on the same item led to a reduced (by 1) number of
sent frames.

Reported-by: Andre Naujoks <nautsch@gmail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-29 00:32:09 -04:00
..
af_can.c net/can/af_can.c: Change del_timer to del_timer_sync 2011-09-15 14:49:43 -04:00
af_can.h
bcm.c can bcm: fix tx_setup off-by-one errors 2011-09-29 00:32:09 -04:00
Kconfig
Makefile
proc.c can: convert to %pK for kptr_restrict support 2011-05-26 14:23:35 -04:00
raw.c