]> git.karo-electronics.de Git - karo-tx-linux.git/commit
can bcm: fix incomplete tx_setup fix
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 29 Sep 2011 19:33:47 +0000 (15:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:36:45 +0000 (09:36 -0800)
commit8adc3d3df0562b8dc4008f458081dcc2d8b98863
tree8b8ef461982adac4936537c94b704148577859ff
parent6d3607b179804e8ff4e2a1304ee238a4f6dc035c
can bcm: fix incomplete tx_setup fix

commit 12d0d0d3a7349daa95dbfd5d7df8146255bc7c67 upstream.

The commit aabdcb0b553b9c9547b1a506b34d55a764745870 ("can bcm: fix tx_setup
off-by-one errors") fixed only a part of the original problem reported by
Andre Naujoks. It turned out that the original code needed to be re-ordered
to reduce complexity and to finally fix the reported frame counting issues.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/can/bcm.c