mirror of https://github.com/torvalds/linux.git
After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe.
Especially, the can_frame cf which aliases skb memory is accessed
after the peak_usb_netif_rx_ni().
Reordering the lines solves the issue.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| pcan_usb.c | ||
| pcan_usb_core.c | ||
| pcan_usb_core.h | ||
| pcan_usb_fd.c | ||
| pcan_usb_pro.c | ||
| pcan_usb_pro.h | ||