android_kernel_xiaomi_sm8350/drivers/net/can
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
..
mscan can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
sja1000 can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
usb can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
at91_can.c can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
bfin_can.c can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
dev.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-17 00:05:02 -08:00
Kconfig can: CAN_MCP251X should depend on HAS_DMA 2009-12-13 19:56:36 -08:00
Makefile can: add the driver for Analog Devices Blackfin on-chip CAN controllers 2009-12-11 15:07:58 -08:00
mcp251x.c can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
ti_hecc.c can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00
vcan.c can: Unify droping of invalid tx skbs and netdev stats 2010-01-12 02:00:46 -08:00