summaryrefslogtreecommitdiff
path: root/net/sctp/tsnmap.c
diff options
context:
space:
mode:
authorOliver Hartkopp <oliver@hartkopp.net>2008-05-08 02:49:55 -0700
committerDavid S. Miller <davem@davemloft.net>2008-05-08 02:49:55 -0700
commitc2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2 (patch)
tree6e327f59003db8e1de548623b08f4b8bb14c308f /net/sctp/tsnmap.c
parent33f9936b2b73dba6c8685994c441c4fd30b04814 (diff)
downloadlinux-3.10-c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2.tar.gz
linux-3.10-c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2.tar.bz2
linux-3.10-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/sctp/tsnmap.c')
0 files changed, 0 insertions, 0 deletions