diff options
author | Oliver Hartkopp <oliver@hartkopp.net> | 2008-05-08 02:49:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-08 02:49:55 -0700 |
commit | c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2 (patch) | |
tree | 6e327f59003db8e1de548623b08f4b8bb14c308f /net/core | |
parent | 33f9936b2b73dba6c8685994c441c4fd30b04814 (diff) | |
download | linux-c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2.tar.gz linux-c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2.tar.bz2 linux-c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2.zip |
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions