OpenCloudOS-Kernel/drivers/net/can/cc770
Marc Kleine-Budde ef934e89f5 can: cc770: 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: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-07-15 09:04:27 +02:00
..
Kconfig can: Kconfig: convert 'depends on CAN_DEV' into 'if CAN_DEV...endif' block 2013-01-26 16:58:58 +01:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
cc770.c can: cc770: don't touch skb after netif_rx() 2015-07-15 09:04:27 +02:00
cc770.h can: cc770: add driver core for the Bosch CC770 and Intel AN82527 2011-12-01 13:09:31 -05:00
cc770_isa.c net: can: cc770: drop owner assignment from platform_drivers 2014-10-20 16:21:00 +02:00
cc770_platform.c can: constify of_device_id array 2015-03-17 15:00:23 -04:00