aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorJimmy Assarsson <[email protected]>2018-08-06 15:14:49 +0200
committerMarc Kleine-Budde <[email protected]>2018-11-09 17:20:03 +0100
commite13fb9b37cc00616b90df2d620f30345b5ada6ff (patch)
tree817f41d9635fe0224ab9d71ec20346353f2379b0 /include/linux/fpga/fpga-bridge.h
parent95217260649aa504eb5d4a0d50959ca4e67c8f96 (diff)
can: kvaser_usb: Fix accessing freed memory in kvaser_usb_start_xmit()
The call to can_put_echo_skb() may result in the skb being freed. The skb is later used in the call to dev->ops->dev_frame_to_cmd(). This is avoided by moving the call to can_put_echo_skb() after dev->ops->dev_frame_to_cmd(). Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jimmy Assarsson <[email protected]> Cc: linux-stable <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions