aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHangyu Hua <[email protected]>2022-03-11 16:06:14 +0800
committerMarc Kleine-Budde <[email protected]>2022-03-31 09:55:27 +0200
commit3d3925ff6433f98992685a9679613a2cc97f3ce2 (patch)
treed01e3e7988cbb7823c75f9430e7dec4b5657693f /net/unix/af_unix.c
parentc70222752228a62135cee3409dccefd494a24646 (diff)
can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error 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: 0024d8ad1639 ("can: usb_8dev: Add support for USB2CAN interface from 8 devices") Link: https://lore.kernel.org/all/[email protected] Cc: [email protected] Signed-off-by: Hangyu Hua <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions