Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in err…
…or path There is no need to call dev_kfree_skb() when usb_submit_urb() fails because can_put_echo_skb() deletes original skb and can_free_echo_skb() deletes the cloned skb. Fixes: 51f3baa ("can: mcba_usb: Add support for Microchip CAN BUS Analyzer") Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Hangyu Hua <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
- Loading branch information