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

Oliver Neukum oneukum at suse.com
Mon Nov 2 09:40:54 UTC 2020

Am Sonntag, den 01.11.2020, 03:05 +0530 schrieb Anant Thazhemadam:
> 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.


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


More information about the Linux-kernel-mentees mailing list