Thread (12 messages) 12 messages, 5 authors, 2020-11-02

Re: [PATCH v3] net: usb: usbnet: update __usbnet_{read|write}_cmd() to use new API

From: Anant Thazhemadam <hidden>
Date: 2020-11-02 16:41:07
Also in: linux-kernel-mentees, linux-usb, lkml

On 02/11/20 3:10 pm, Oliver Neukum wrote:
Am Sonntag, den 01.11.2020, 03:05 +0530 schrieb Anant Thazhemadam:
quoted
Currently, __usbnet_{read|write}_cmd() use usb_control_msg().
However, this could lead to potential partial reads/writes being
considered valid, and since most of the callers of
usbnet_{read|write}_cmd() don't take partial reads/writes into account
(only checking for negative error number is done), and this can lead to
issues.
Hi,

plesae send this as a post of its own. We cannot take a new set
as a reply to an older set.

	Regards
		Oliver
Got it. I will do that.

Thanks,
Anant
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help