commit | b07e930d1f498e3cc3677fdf89665918aa44e244 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Jan 12 14:56:13 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 14 14:00:18 2017 +0200 |
tree | 72227c701f5d95d0e4f3c6b8be2624d521a7d3b6 | |
parent | 4d32e36d62627ad9730338e6f603c8b996aaf7eb [diff] |
USB: serial: io_edgeport: fix epic-descriptor handling commit e4457d9798adb96272468e93da663de9bd0a4198 upstream. Use a dedicated buffer for the DMA transfer and make sure to detect short transfers to avoid parsing a corrupt descriptor. Fixes: 6e8cf7751f9f ("USB: add EPIC support to the io_edgeport driver") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>