summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2019-12-14 05:40:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-30 21:54:58 +0300
commitea0d762775e20aaff7909a3f0866ff1688b1c618 (patch)
treed7499ffdc02e4b30aca5e0b7b687f9738f215309 /net/unix/af_unix.c
parentc80d0f4426c7fdc7efd6ae8d8b021dcfc89b4254 (diff)
downloadlinux-ea0d762775e20aaff7909a3f0866ff1688b1c618.tar.xz
usb: dwc3: gadget: Fix request complete check
We can only check for IN direction if the request had completed. For OUT direction, it's perfectly fine that the host can send less than the setup length. Let's return true fall all cases of OUT direction. Fixes: e0c42ce590fe ("usb: dwc3: gadget: simplify IOC handling") Cc: stable@vger.kernel.org Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Link: https://lore.kernel.org/r/ac5a3593a94fdaa3d92e6352356b5f7a01ccdc7c.1576291140.git.thinhn@synopsys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions