summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorjwboyer@redhat.com <jwboyer@redhat.com>2012-02-20 21:34:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-24 22:37:45 +0100
commit4898e07174b79013afd2b422ef6c4336ef8e6783 (patch)
tree2619e8211fb6880fdca366c755df7a4dc35a9ae1 /kernel
parentpowerpc/usb: fix bug of kernel hang when initializing usb (diff)
downloadlinux-4898e07174b79013afd2b422ef6c4336ef8e6783.tar.xz
linux-4898e07174b79013afd2b422ef6c4336ef8e6783.zip
USB: ums_realtek: do not use stack memory for DMA in __do_config_autodelink
__do_config_autodelink passes the data variable to the transport function. If the calling functions pass a stack variable, this will eventually trigger a DMA-API debug backtrace for mapping stack memory in the DMA buffer. Fix this by calling kmemdup for the passed data instead. Signed-off-by: Josh Boyer <jwboyer@redhat.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions