summaryrefslogtreecommitdiff
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-02-05 14:57:59 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-21 07:31:24 (GMT)
commitfb00319317c152bf3528df13a54c28bf8c5daa55 (patch)
tree3678005dc4b516587be3b7a5ad576667d4153fe8 /net/ipv6/addrconf.c
parent28d1e8b7ef81d254583f68627095f8a85e39597d (diff)
downloadlinux-fb00319317c152bf3528df13a54c28bf8c5daa55.tar.xz
cxusb: Use a dma capable buffer also for reading
commit 3f190e3aec212fc8c61e202c51400afa7384d4bc upstream. Commit 17ce039b4e54 ("[media] cxusb: don't do DMA on stack") added a kmalloc'ed bounce buffer for writes, but missed to do the same for reads. As the read only happens after the write is finished, we can reuse the same buffer. As dvb_usb_generic_rw handles a read length of 0 by itself, avoid calling it using the dvb_usb_generic_read wrapper function. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: Brad Spengler <spender@grsecurity.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions