aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <[email protected]>2013-12-06 23:10:35 +0000
committerMarc Kleine-Budde <[email protected]>2013-12-17 10:19:11 +0000
commita1c31f1d057130cc63e72a09189410d169db7ecf (patch)
treeac0e5e0f58916ea7584076ce443600307faf7458 /net/unix/af_unix.c
parentsctp: loading sctp when load sctp_probe (diff)
downloadkernel-a1c31f1d057130cc63e72a09189410d169db7ecf.tar.gz
kernel-a1c31f1d057130cc63e72a09189410d169db7ecf.zip
can: ems_usb: fix urb leaks on failure paths
There are a couple failure paths where urb leaks. Is spare code within ems_usb_start_xmit(), usb_free_urb() should be used to deallocate urb instead of usb_unanchor_urb(). In ems_usb_start() there is no usb_free_urb() if usb_submit_urb() fails. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <[email protected]> Acked-by: Sebastian Haas <[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