From: Oliver Hartkopp Date: Thu, 8 May 2008 09:49:55 +0000 (-0700) Subject: can: Fix can_send() handling on dev_queue_xmit() failures X-Git-Tag: v2.6.26-rc2~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2;p=pandora-kernel.git can: Fix can_send() handling on dev_queue_xmit() failures The tx packet counting and the local loopback of CAN frames should only happen in the case that the CAN frame has been enqueued to the netdevice tx queue successfully. Thanks to Andre Naujoks for reporting this issue. Signed-off-by: Oliver Hartkopp Signed-off-by: Urs Thuermann Signed-off-by: David S. Miller --- Reading git-diff-tree failed