can: Unify droping of invalid tx skbs and netdev stats
authorOliver Hartkopp <oliver@hartkopp.net>
Tue, 12 Jan 2010 10:00:46 +0000 (02:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jan 2010 10:00:46 +0000 (02:00 -0800)
To prevent the CAN drivers to operate on invalid socketbuffers the skbs are
now checked and silently dropped at the xmit-function consistently.

Also the netdev stats are consistently using the CAN data length code (dlc)
for [rx|tx]_bytes now.

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found