commit | c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2 | [log] [tgz] |
---|---|---|
author | Oliver Hartkopp <oliver@hartkopp.net> | Thu May 08 02:49:55 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 08 02:49:55 2008 -0700 |
tree | 6e327f59003db8e1de548623b08f4b8bb14c308f | |
parent | 33f9936b2b73dba6c8685994c441c4fd30b04814 [diff] |
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 <nautsch@gmail.com> for reporting this issue. Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net> Signed-off-by: Urs Thuermann <urs@isnogud.escape.de> Signed-off-by: David S. Miller <davem@davemloft.net>