aboutsummaryrefslogtreecommitdiffstats
path: root/security/bpf
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2022-07-20 23:35:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-19 11:03:44 +0200
commitb44c0e7fef51ee7e8ca8c6efbf706f5613787100 (patch)
treee91bd753962e9fd44149f3686c1c45fb2637ecee /security/bpf
parentb6caf79d215df3c2fcd92adf65744738bfb2e516 (diff)
downloadlinux-b44c0e7fef51ee7e8ca8c6efbf706f5613787100.tar.gz
usb: dwc3: gadget: conditionally remove requests
The functions stop_active_transfers and ep_disable are both calling remove_requests. This functions in both cases will giveback the requests with status ESHUTDOWN, which also represents an physical disconnection. For ep_disable this is not true. This patch adds the status parameter to remove_requests and sets the status to ECONNRESET on ep_disable. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.kernel.org/r/20220720213523.1055897-1-m.grzeschik@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/bpf')
0 files changed, 0 insertions, 0 deletions