OpenCloudOS-Kernel/drivers/net/can/usb
Marc Kleine-Budde 1c0ee04695 can: pcan_usb: don't touch skb after netif_rx()
There is no guarantee that the skb is in the same state after calling
net_receive_skb() or netif_rx(). It might be freed or reused. Not really
harmful as its a read access, except you turn on the proper debugging options
which catch a use after free.

Cc: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-07-15 09:04:28 +02:00
..
peak_usb can: pcan_usb: don't touch skb after netif_rx() 2015-07-15 09:04:28 +02:00
Kconfig can: peak_usb: add support for PEAK new CANFD USB adapters 2015-01-28 14:47:06 +01:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
ems_usb.c can: ems_usb: don't touch skb after netif_rx() 2015-07-15 09:04:28 +02:00
esd_usb2.c can: esd_usb2: don't touch skb after netif_rx() 2015-07-15 09:04:28 +02:00
gs_usb.c can: gs_usb: check for kzalloc allocation failure 2015-03-22 18:14:50 +01:00
kvaser_usb.c net:treewide: Fix typo in drivers/net 2015-04-27 13:40:53 -04:00
usb_8dev.c can: usb_8dev: don't touch skb after netif_rx() 2015-07-15 09:04:28 +02:00