diff options
author | 2017-05-16 11:47:29 -0400 | |
---|---|---|
committer | 2017-05-17 11:27:40 +0200 | |
commit | 628c2893d44876ddd11602400c70606ade62e129 (patch) | |
tree | 7cd93437f41e713887fe43e2a1a4da4db68424af /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'fixes-for-v4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus (diff) | |
download | wireguard-linux-628c2893d44876ddd11602400c70606ade62e129.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions