commit | 6ae3673debfbf2cfa1972b6d00b974d0e10ad3c6 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Sat Jul 11 21:03:07 2015 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Jul 15 09:04:26 2015 +0200 |
tree | 308d12f3d15eef65462d31c5b0ee3252b2d77be9 | |
parent | 50c2e4dd6749725338621fff456b26d3a592259f [diff] |
can: at91_can: don't touch skb after netif_receive_skb()/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. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>