From: Oliver Hartkopp Date: Tue, 12 Jan 2010 10:00:46 +0000 (-0800) Subject: can: Unify droping of invalid tx skbs and netdev stats X-Git-Tag: v2.6.34-rc1~233^2~598 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ccd4c6167d3b39d52631767ebbf8b5677c5855d;p=pandora-kernel.git can: Unify droping of invalid tx skbs and netdev stats 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 Acked-by: Wolfgang Grandegger Signed-off-by: David S. Miller --- Reading git-diff-tree failed