[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <11476cd1da8b63f75d39bd5b8e876ad3968a1903.camel@suse.com>
Date: Mon, 02 Nov 2020 10:40:54 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Anant Thazhemadam <anant.thazhemadam@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH v3] net: usb: usbnet: update __usbnet_{read|write}_cmd()
to use new API
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.
>
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
Powered by blists - more mailing lists