diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-07-11 19:16:08 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-07-15 07:04:28 (GMT) |
commit | 9b721a4cefcbdedadbe72b5ec405046c139cf8ad (patch) | |
tree | 175bb5f1b278821237259ae6e2865cb651488502 /lib/iov_iter.c | |
parent | 43c021e8d6844c4b0f5cc9eda10d232e7b87a456 (diff) | |
download | linux-9b721a4cefcbdedadbe72b5ec405046c139cf8ad.tar.xz |
can: usb_8dev: 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: Bernd Krumboeck <b.krumboeck@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/iov_iter.c')
0 files changed, 0 insertions, 0 deletions