linux/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 can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
bcm.c can bcm: fix tx_setup off-by-one errors 2011-09-29 00:32:09 -04:00
Kconfig [CAN]: Add virtual CAN netdevice driver 2008-01-28 14:54:12 -08:00
Makefile Net: can: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:09 -08:00
proc.c can: convert to %pK for kptr_restrict support 2011-05-26 14:23:35 -04:00
raw.c can: make struct can_proto const 2011-05-04 14:08:36 -07:00