commit | 1c0ee046957648106b415df79038e4e62b144c19 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Sat Jul 11 21:16:08 2015 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Jul 15 09:04:28 2015 +0200 |
tree | 7def9771b07ca14440409d48ab627c90416a1472 | |
parent | 9b721a4cefcbdedadbe72b5ec405046c139cf8ad [diff] |
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>