summaryrefslogtreecommitdiff
path: root/drivers/usb/mtu3/mtu3_debugfs.c
diff options
context:
space:
mode:
authorGavin Li <git@thegavinli.com>2019-08-05 02:50:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-05 18:27:52 +0300
commitc43f28dfdc4654e738aa6d3fd08a105b2bee758d (patch)
tree5c875723c4a6058d66bacab1d7ccf3059f391744 /drivers/usb/mtu3/mtu3_debugfs.c
parentfc05481b2fcabaaeccf63e32ac1baab54e5b6963 (diff)
downloadlinux-c43f28dfdc4654e738aa6d3fd08a105b2bee758d.tar.xz
usb: usbfs: fix double-free of usb memory upon submiturb error
Upon an error within proc_do_submiturb(), dec_usb_memory_use_count() gets called once by the error handling tail and again by free_async(). Remove the first call. Signed-off-by: Gavin Li <git@thegavinli.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20190804235044.22327-1-gavinli@thegavinli.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mtu3/mtu3_debugfs.c')
0 files changed, 0 insertions, 0 deletions