android_kernel_xiaomi_sm8350/drivers/net/can/mscan
Oliver Hartkopp 3ccd4c6167 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>
2010-01-12 02:00:46 -08:00
..
Kconfig can: mscan-mpc5xxx: add support for the MPC512x processor 2010-01-08 01:02:18 -08:00
Makefile net/can/mscan: improve build 2009-11-17 03:57:34 -08:00
mpc5xxx_can.c can: mscan-mpc5xxx: add support for the MPC512x processor 2010-01-08 01:02:18 -08:00
mscan.c can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
mscan.h can: mscan-mpc5xxx: add support for the MPC512x processor 2010-01-08 01:02:18 -08:00