From: Markus Pargmann Date: Mon, 28 Oct 2013 08:54:40 +0000 (+0100) Subject: can: c_can: Fix RX message handling, handle lost message before EOB X-Git-Tag: v3.2.54~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8edf57cb72b8d90d495ad78306daf9c9763ea5c;p=pandora-kernel.git can: c_can: Fix RX message handling, handle lost message before EOB commit 5d0f801a2ccec3b1fdabc3392c8d99ed0413d216 upstream. If we handle end of block messages with higher priority than a lost message, we can run into an endless interrupt loop. This is reproducable with a am335x processor and "cansequence -r" at 1Mbit. As soon as we loose a packet we can't escape from an interrupt loop. This patch fixes the problem by handling lost packets before EOB packets. Signed-off-by: Markus Pargmann Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed