[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2338f70a-1823-47ad-8302-7fb62481f736@suse.com>
Date: Wed, 22 Nov 2023 11:20:47 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Sergei Shtylyov <sergei.shtylyov@...il.com>,
Oliver Neukum <oneukum@...e.com>, Sergey Shtylyov <s.shtylyov@....ru>,
dmitry.bezrukov@...antia.com, marcinguy@...il.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux-usb@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCHv2] USB: gl620a: check for rx buffer overflow
On 22.11.23 11:07, Sergei Shtylyov wrote:
> On 11/22/23 1:04 PM, Oliver Neukum wrote:
>
> [...]
>>>> The driver checks for a single package overflowing
>>>
>>> Maybe packet?
>>
>> No, that would be read as network packet, which
>> is precisely what this not not and should not
>> be mistaken for.
>
> But "package" hardly fits either. Is it a USB packet or something else?
Technically the content of the buffer associated
with a single URB. Which on USB physically can be multiple
packets. The network packets arrive together in a package.
That is how this and related drivers operate.
Regards
Oliver
Powered by blists - more mailing lists