can: flexcan: don't touch skb after netif_receive_skb()
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 8 May 2015 09:30:29 +0000 (11:30 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 15 Jul 2015 07:04:27 +0000 (09:04 +0200)
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.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c

Simple merge