android_kernel_xiaomi_sm8350/drivers/net/can/usb
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
..
ems_usb.c can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
Kconfig can: Fix driver Kconfig structure 2009-11-13 19:56:55 -08:00
Makefile can: Fix driver Kconfig structure 2009-11-13 19:56:55 -08:00