]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
The local loopback of CAN frames and the statistics for packet counting
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Tue, 6 May 2008 08:12:59 +0000 (08:12 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Tue, 6 May 2008 08:12:59 +0000 (08:12 +0000)
commit60f8c3e6d8246bf7ab36757bc64c20c49cd3b86e
treead6b8c98f0cfb64eee2e4695e7025524cf475d23
parentf04025b562ab9ad7a177d263d31236f21921450c
The local loopback of CAN frames and the statistics for packet counting
should only happen in the case the CAN frame has been enqueued to the
netdevice tx queue successfully.

This follows the rule that only CAN frames that (potentially) touched
the CAN bus are looped back.

Patch for Linux Mainline (2.6.26) will follow tonight.

git-svn-id: svn://svn.berlios.de//socketcan/trunk@727 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/net/can/af_can.c