[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1489863159-10972-1-git-send-email-t-herzog@gmx.de>
Date: Sat, 18 Mar 2017 19:52:35 +0100
From: Tobias Herzog <t-herzog@....de>
To: oneukum@...e.com
Cc: gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/4] cdc-acm: reassemble fragmented notifications
USB devices may have very limitited endpoint packet sizes, so that
notifications can not be transferred within one single usb packet.
This patchset adds the ability to reassemble notifications that are
transmitted fragmented.
v2:
* reuse an allocated buffer for further notifications
* fixed issues with endianess
* check buffer allocation (kmalloc)
* don't use hard coded size of notification-header
* fixed typo + code structure (unneeded goto)
Tobias Herzog (4):
cdc-acm: reassemble fragmented notifications
cdc-acm: fix possible invalid access when processing notification
cdc-acm: log message for serial state notification
cdc-acm: remove unused element of struct acm
drivers/usb/class/cdc-acm.c | 119 ++++++++++++++++++++++++++++++++------------
drivers/usb/class/cdc-acm.h | 4 +-
2 files changed, 90 insertions(+), 33 deletions(-)
--
2.1.4
Powered by blists - more mailing lists