diff options
author | Oliver Hartkopp <oliver@hartkopp.net> | 2010-01-12 02:00:46 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-12 02:00:46 -0800 |
commit | 3ccd4c6167d3b39d52631767ebbf8b5677c5855d (patch) | |
tree | bfcb801edebd00e8b30e897038bad7fee39625cc /lib | |
parent | d218d11133d888f9745802146a50255a4781d37a (diff) | |
download | lwn-3ccd4c6167d3b39d52631767ebbf8b5677c5855d.tar.gz lwn-3ccd4c6167d3b39d52631767ebbf8b5677c5855d.zip |
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 <oliver@hartkopp.net>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions