]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:08 +0000 (11:18 -0800)
commit8c6f96fff1608cf8c45d7e113e7c4a765c6d96a0
tree4b4d3ea262c20837f227da5d79d15198a301469c
parent6b58ea74619fec1213ea9f13801da05068ae774b
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