can: janz-ican3: drop invalid skbs
authorIra W. Snyder <iws@ovro.caltech.edu>
Wed, 18 Jul 2012 22:33:14 +0000 (15:33 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Jul 2012 10:31:06 +0000 (12:31 +0200)
commit007890d726602c925077381500f0b633cfacd711
tree7264fd33cf7ce97840cd76c24a4734820de13be6
parent8456a9196f7696421eecffdbab5d785f852d95e8
can: janz-ican3: drop invalid skbs

The commit which added the janz-ican3 driver and commit
3ccd4c61 "can: Unify droping of invalid tx skbs and netdev stats" were
committed into mainline Linux during the same merge window.

Therefore, the addition of this code to the janz-ican3 driver was
forgotten. This patch adds the expected code.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/janz-ican3.c