summaryrefslogtreecommitdiffstats
path: root/drivers/usb/mtu3
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2017-05-16 17:47:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-17 11:27:40 +0200
commit628c2893d44876ddd11602400c70606ade62e129 (patch)
tree7cd93437f41e713887fe43e2a1a4da4db68424af /drivers/usb/mtu3
parentMerge tag 'fixes-for-v4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-628c2893d44876ddd11602400c70606ade62e129.tar.xz
linux-628c2893d44876ddd11602400c70606ade62e129.zip
USB: ene_usb6250: fix DMA to the stack
The ene_usb6250 sub-driver in usb-storage does USB I/O to buffers on the stack, which doesn't work with vmapped stacks. This patch fixes the problem by allocating a separate 512-byte buffer at probe time and using it for all of the offending I/O operations. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-and-tested-by: Andreas Hartmann <andihartmann@01019freenet.de> CC: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mtu3')
0 files changed, 0 insertions, 0 deletions