summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-07-11 21:16:08 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-07-15 09:04:28 +0200
commit1c0ee046957648106b415df79038e4e62b144c19 (patch)
tree7def9771b07ca14440409d48ab627c90416a1472 /lib
parentcan: usb_8dev: don't touch skb after netif_rx() (diff)
downloadlinux-1c0ee046957648106b415df79038e4e62b144c19.tar.xz
linux-1c0ee046957648106b415df79038e4e62b144c19.zip
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions