diff options
author | Oliver Hartkopp <oliver@hartkopp.net> | 2008-05-08 02:49:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-15 07:50:03 -0700 |
commit | 15e31ad310ec9b245849ec6952c22217167cdf4a (patch) | |
tree | c036f45b99fc815ee00c90f5b17d71984b61015c /arch | |
parent | f96e856cd870007bb8f344e62eff228eba3f6989 (diff) |
can: Fix can_send() handling on dev_queue_xmit() failures
[ Upstream commit: c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions