linux-uconsole/drivers/net/can
Oliver Hartkopp 82fb39a22b can: add missing initialisations in CAN related skbuffs
commit 969439016d upstream.

When accessing CAN network interfaces with AF_PACKET sockets e.g. by dhclient
this can lead to a skb_under_panic due to missing skb initialisations.

Add the missing initialisations at the CAN skbuff creation times on driver
level (rx path) and in the network layer (tx path).

Reported-by: Austin Schuh <austin@peloton-tech.com>
Reported-by: Daniel Steer <daniel.steer@mclaren.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-26 15:00:58 +01:00
..
c_can can: c_can: don't call pm_runtime_get_sync() from interrupt context 2013-12-11 22:36:26 -08:00
cc770 can: Kconfig: convert 'depends on CAN_DEV' into 'if CAN_DEV...endif' block 2013-01-26 16:58:58 +01:00
mscan can: Kconfig: convert 'depends on CAN_DEV' into 'if CAN_DEV...endif' block 2013-01-26 16:58:58 +01:00
sja1000 can: peak_pci: prevent use after free at netdev removal 2014-06-30 20:09:40 -07:00
softing FIX: softingcs conversion to module_pcmcia_driver macro 2013-03-18 17:53:34 -07:00
usb can: kvaser_usb: Fix state handling upon BUS_ERROR events 2015-02-05 22:35:36 -08:00
at91_can.c can: at91-can: fix device to driver data mapping for platform devices 2013-11-13 12:05:31 +09:00
bfin_can.c can: bfin_can: declare locally used functions static 2013-03-27 13:07:10 +01:00
dev.c can: add missing initialisations in CAN related skbuffs 2015-03-26 15:00:58 +01:00
flexcan.c can: flexcan: flexcan_open(): fix error path if flexcan_chip_start() fails 2014-03-23 21:38:19 -07:00
grcan.c can: remove __dev* attributes 2012-12-03 11:16:11 -08:00
janz-ican3.c can: add destructor for self generated skbs 2014-03-06 21:30:03 -08:00
Kconfig can: Kconfig: CAN_AT91 depends on ARM 2013-03-27 13:07:08 +01:00
led.c can: rename LED trigger name on netdev renames 2013-01-26 16:58:59 +01:00
Makefile can: add tx/rx LED trigger support 2013-01-26 16:58:59 +01:00
mcp251x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
pch_can.c can: pch_can: fix invalid error codes 2013-01-26 17:13:41 +01:00
slcan.c can: rework skb reserved data handling 2013-01-28 18:17:25 -05:00
ti_hecc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-01-29 15:32:13 -05:00
vcan.c can: add destructor for self generated skbs 2014-03-06 21:30:03 -08:00