diff options
author | 2017-04-25 17:56:12 -0700 | |
---|---|---|
committer | 2017-05-17 12:20:53 +0200 | |
commit | 614536dac7f33c64a58fab4767a325d52572a7d1 (patch) | |
tree | d79ddf1996c4389b65c84dc6b8a3c47e47edc508 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: core: Check URB setup_packet and transfer_buffer sanity (diff) | |
download | linux-dev-614536dac7f33c64a58fab4767a325d52572a7d1.tar.xz linux-dev-614536dac7f33c64a58fab4767a325d52572a7d1.zip |
usb: udc: core: Error if req->buf is either from vmalloc or stack
Check that req->buf is a valid DMA capable address, produce a warning
and return an error if it's either coming from vmalloc space or is an on
stack buffer.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions