summaryrefslogtreecommitdiff
path: root/net/can/af_can.c
diff options
context:
space:
mode:
authorStephane Grosjean <s.grosjean@peak-system.com>2018-01-15 18:31:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-23 21:58:17 +0300
commit659af12a2780dd552b6702dafd4598900aeb29e9 (patch)
tree5db1575d49c0ae4ec9e9ac9143874eb1160ff8e2 /net/can/af_can.c
parente53050a85f657f55c2036beea2cbee698d47b6d7 (diff)
downloadlinux-659af12a2780dd552b6702dafd4598900aeb29e9.tar.xz
can: peak: fix potential bug in packet fragmentation
commit d8a243af1a68395e07ac85384a2740d4134c67f4 upstream. In some rare conditions when running one PEAK USB-FD interface over a non high-speed USB controller, one useless USB fragment might be sent. This patch fixes the way a USB command is fragmented when its length is greater than 64 bytes and when the underlying USB controller is not a high-speed one. Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/can/af_can.c')
0 files changed, 0 insertions, 0 deletions